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:
@@ -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())))
|
||||
|
||||
|
||||
@@ -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())))
|
||||
|
||||
@@ -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())))
|
||||
|
||||
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user