mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Replaced print statement by print function (forward compatibility syntax).
This commit is contained in:
@@ -77,12 +77,12 @@ def main(argv=None):
|
||||
target_found, lines = has_target(fn)
|
||||
if not target_found:
|
||||
if testing:
|
||||
print '%s: %s' % (fn, lines[0]),
|
||||
print('%s: %s' % (fn, lines[0]))
|
||||
else:
|
||||
print "Adding xref to %s" % fn
|
||||
print("Adding xref to %s" % fn)
|
||||
process_file(fn, lines)
|
||||
else:
|
||||
print "Skipping %s: already has a xref" % fn
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
sys.exit(main())
|
||||
|
||||
Reference in New Issue
Block a user