1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Replaced print statement by print function (forward compatibility syntax).

This commit is contained in:
Claude Paroz
2012-04-28 18:02:01 +02:00
parent fe43ad5707
commit 596cb9c7e2
61 changed files with 310 additions and 310 deletions

View File

@@ -7,5 +7,5 @@ class Command(AppCommand):
args = '[appname ...]'
def handle_app(self, app, **options):
print 'EXECUTE:AppCommand app=%s, options=%s' % (app, sorted(options.items()))
print('EXECUTE:AppCommand app=%s, options=%s' % (app, sorted(options.items())))

View File

@@ -14,4 +14,4 @@ class Command(BaseCommand):
args = '[labels ...]'
def handle(self, *labels, **options):
print 'EXECUTE:BaseCommand labels=%s, options=%s' % (labels, sorted(options.items()))
print('EXECUTE:BaseCommand labels=%s, options=%s' % (labels, sorted(options.items())))

View File

@@ -7,4 +7,4 @@ class Command(LabelCommand):
args = '<label>'
def handle_label(self, label, **options):
print 'EXECUTE:LabelCommand label=%s, options=%s' % (label, sorted(options.items()))
print('EXECUTE:LabelCommand label=%s, options=%s' % (label, sorted(options.items())))

View File

@@ -7,4 +7,4 @@ class Command(NoArgsCommand):
def handle_noargs(self, **options):
print 'EXECUTE:NoArgsCommand options=%s' % sorted(options.items())
print('EXECUTE:NoArgsCommand options=%s' % sorted(options.items()))