# HG changeset patch # User Brian Neal # Date 1298671388 0 # Node ID 0bf5a567706758278b63e710181ad7c7b6553610 # Parent a805c496923f44ae0f5836558be6c9f0fd89d5a7 Import from future with_statement for Python 2.5 in import_old_links and podcasts scripts. diff -r a805c496923f -r 0bf5a5677067 gpp/legacy/management/commands/import_old_links.py --- 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 diff -r a805c496923f -r 0bf5a5677067 gpp/legacy/management/commands/import_old_podcasts.py --- a/gpp/legacy/management/commands/import_old_podcasts.py Fri Feb 25 04:23:42 2011 +0000 +++ b/gpp/legacy/management/commands/import_old_podcasts.py Fri Feb 25 22:03:08 2011 +0000 @@ -1,6 +1,7 @@ """ import_old_podcasts.py - For importing podcasts from SG101 1.0 as csv files. """ +from __future__ import with_statement import csv import datetime