Remove white space between print and ()

Change-Id: Ie181f5bdcd17b213586face17b8c6d9cbf6384db
This commit is contained in:
haobing1
2016-07-15 16:21:44 +08:00
committed by haobing
parent 7fa93b9ceb
commit c290741700

View File

@@ -43,14 +43,14 @@ from taskflow import task
class CallJim(task.Task): class CallJim(task.Task):
def execute(self, jim_number): def execute(self, jim_number):
print ("Calling jim %s." % jim_number) print("Calling jim %s." % jim_number)
if jim_number != 555: if jim_number != 555:
raise Exception("Wrong number!") raise Exception("Wrong number!")
else: else:
print ("Hello Jim!") print("Hello Jim!")
def revert(self, jim_number, **kwargs): def revert(self, jim_number, **kwargs):
print ("Wrong number, apologizing.") print("Wrong number, apologizing.")
# Create your flow and associated tasks (the work to be done). # Create your flow and associated tasks (the work to be done).