fixed some print statement to be python3 compatible

This commit is contained in:
Ronny Abraham 2018-10-16 03:14:10 +03:00
parent d57781436b
commit b93ea8e259

View file

@ -399,12 +399,12 @@ def generate(param=None, make_copy=False):
import sys import sys
sys.exit(err_msg) sys.exit(err_msg)
print "django:generate make_copy : %s\n" % make_copy print("django:generate make_copy : %s\n" % make_copy)
print "django:generate script : %s" % param print("django:generate script : %s" % param)
if env.debug: if env.debug:
print "django:generate script : %s" % param print("django:generate script : %s" % param)
print "django:generate make_copy : %s\n" % make_copy print("django:generate make_copy : %s\n" % make_copy)
else: else:
pass pass
# env.debug does not block the rest of the commands because this # env.debug does not block the rest of the commands because this