Commit 837a4acf authored by Reinout van Rees's avatar Reinout van Rees

Using print() function instead of print keyword

I cannot handily use print_ from buildout.py as I get a circular import that way.
parent a08076ad
...@@ -760,9 +760,9 @@ def print_picked_versions(): ...@@ -760,9 +760,9 @@ def print_picked_versions():
output.extend(required_output) output.extend(required_output)
print "Versions had to be automatically picked." print("Versions had to be automatically picked.")
print "The following part definition lists the versions picked:" print("The following part definition lists the versions picked:")
print '\n'.join(output) print('\n'.join(output))
# if file_name: # if file_name:
# if os.path.exists(file_name): # if os.path.exists(file_name):
# output[:1] = [ # output[:1] = [
...@@ -773,7 +773,7 @@ def print_picked_versions(): ...@@ -773,7 +773,7 @@ def print_picked_versions():
# f = open(file_name,'a') # f = open(file_name,'a')
# f.write('\n'.join(output)) # f.write('\n'.join(output))
# f.close() # f.close()
# print "This information has been written to %r" % file_name # print("This information has been written to %r" % file_name)
def install(specs, dest, def install(specs, dest,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment