Remove white space between print and ()
Change-Id: Ie181f5bdcd17b213586face17b8c6d9cbf6384db
This commit is contained in:
@@ -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).
|
||||||
|
Reference in New Issue
Block a user