Use the print function

In Python 3, `print` is no longer a statement. Call it as a function
everywhere, and include the future import to remove the statement
in Python 2 code as well.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Petr Viktorin authored and Jan Cholasta committed 2015-09-01 11:42:01 +02:00
1 parent fb7943dab4
commit 8de13bd7dd
68 files changed
+954 -838

No files matched your search

+2 -2
View File
@@ -43,5 +43,5 @@ else:
# Now that you're connected, you can make calls to api.Command.whatever():
print 'The admin user:'
print api.Command.user_show(u'admin')
print('The admin user:')
print(api.Command.user_show(u'admin'))