Mercurial > public > sg101
diff gpp/legacy/management/commands/import_old_links.py @ 333:0bf5a5677067
Import from future with_statement for Python 2.5 in import_old_links and podcasts scripts.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 25 Feb 2011 22:03:08 +0000 |
parents | 254db4cb6a86 |
children | 639cfdf59167 |
line wrap: on
line diff
--- a/gpp/legacy/management/commands/import_old_links.py Fri Feb 25 04:23:42 2011 +0000 +++ b/gpp/legacy/management/commands/import_old_links.py Fri Feb 25 22:03:08 2011 +0000 @@ -1,6 +1,7 @@ """ import_old_links.py - For importing links from SG101 1.0 as csv files. """ +from __future__ import with_statement import csv import datetime