summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaobing1 <hao.bing1@zte.com.cn>2016-07-15 16:21:44 +0800
committerhaobing <hao.bing1@zte.com.cn>2016-07-18 05:33:57 +0000
commitc290741700578e37c6fd519382a88b028b38a397 (patch)
tree64e60adeaeb493164789f4159ea6750ab97755f6
parent7fa93b9ceb077d882f3d2e6f45f0a0350edde5ac (diff)
downloadtaskflow-c290741700578e37c6fd519382a88b028b38a397.tar.gz
Remove white space between print and ()
Change-Id: Ie181f5bdcd17b213586face17b8c6d9cbf6384db
-rw-r--r--taskflow/examples/retry_flow.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/taskflow/examples/retry_flow.py b/taskflow/examples/retry_flow.py
index 3123aca..bb5581d 100644
--- a/taskflow/examples/retry_flow.py
+++ b/taskflow/examples/retry_flow.py
@@ -43,14 +43,14 @@ from taskflow import task
class CallJim(task.Task):
def execute(self, jim_number):
- print ("Calling jim %s." % jim_number)
+ print("Calling jim %s." % jim_number)
if jim_number != 555:
raise Exception("Wrong number!")
else:
- print ("Hello Jim!")
+ print("Hello Jim!")
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).