Commit 82cb8e79 authored by fred's avatar fred
Browse files

commands: use print as a function

parent 2a8c358d
......@@ -35,7 +35,7 @@ class Command(BaseCommand):
with open(filename) as fd:
if self.verbose:
print 'Reading SPIP dump file'
print('Reading SPIP dump file')
content =
# the spip_courriers parts of the spip export are not properly
# encoded, we manually remove them here so the XML file can be
......@@ -47,7 +47,7 @@ class Command(BaseCommand):
if self.verbose:
print 'Creating subscribers'
print('Creating subscribers')
for author_xml in self.root.iter('spip_auteurs_elargis'):
if author_xml.find('spip_listes_format').text not in ('texte', 'html'):
......@@ -12,5 +12,5 @@ class Command(BaseCommand):
for subscriber in Subscriber.objects.filter(is_validated=True).exclude(is_registered=True):
if self.verbose:
print 'subscribing',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment