comparison gpp/legacy/management/commands/import_old_podcasts.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
comparison
equal deleted inserted replaced
332:a805c496923f 333:0bf5a5677067
1 """ 1 """
2 import_old_podcasts.py - For importing podcasts from SG101 1.0 as csv files. 2 import_old_podcasts.py - For importing podcasts from SG101 1.0 as csv files.
3 """ 3 """
4 from __future__ import with_statement
4 import csv 5 import csv
5 import datetime 6 import datetime
6 7
7 from django.core.management.base import LabelCommand, CommandError 8 from django.core.management.base import LabelCommand, CommandError
8 9