提交 97f084b3 编写于 作者: C Cleber Rosa

Python 3: fix print() syntax

Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 202b4462
......@@ -116,7 +116,7 @@ class App(object):
self.args = self.parser.parse_args()
action_result = self.dispatch_action()
except KeyboardInterrupt:
print 'Interrupted'
print('Interrupted')
if isinstance(action_result, int):
sys.exit(action_result)
......
......@@ -44,4 +44,4 @@ if __name__ == '__main__':
result += ["%s.%s.%s" % (test_module_name, klass, method)
for method in methods]
if result:
print "\n".join(result)
print("\n".join(result))
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册