mirror of
https://github.com/django/django.git
synced 2025-10-21 15:52:54 +00:00
Replaced print statement by print function (forward compatibility syntax).
This commit is contained in:
parent
fe43ad5707
commit
596cb9c7e2
61 changed files with 310 additions and 310 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue