summaryrefslogtreecommitdiff
path: root/django/core/management/__init__.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-04-28 18:02:01 +0200
committerClaude Paroz <claude@2xlibre.net>2012-04-30 20:45:03 +0200
commit596cb9c7e287abbb98c64974fb4944d522cb6b5a (patch)
treee8ad5402dd233458b392d1822146bb1102ba74a6 /django/core/management/__init__.py
parentfe43ad5707d116bb1729bc17a24ca16c90ae040d (diff)
Replaced print statement by print function (forward compatibility syntax).
Diffstat (limited to 'django/core/management/__init__.py')
-rw-r--r--django/core/management/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py
index 840a3b74df..b4e82e454f 100644
--- a/django/core/management/__init__.py
+++ b/django/core/management/__init__.py
@@ -299,7 +299,7 @@ class ManagementUtility(object):
# subcommand
if cword == 1:
- print ' '.join(sorted(filter(lambda x: x.startswith(curr), subcommands)))
+ print(' '.join(sorted(filter(lambda x: x.startswith(curr), subcommands))))
# subcommand options
# special case: the 'help' subcommand has no options
elif cwords[0] in subcommands and cwords[0] != 'help':
@@ -333,7 +333,7 @@ class ManagementUtility(object):
# append '=' to options which require args
if option[1]:
opt_label += '='
- print opt_label
+ print(opt_label)
sys.exit(1)
def execute(self):