Remove white space between print and ()

TrivialFix

Change-Id: Ice05cc9848bc0b647ee20cfad20c23b47f8fedbd
This commit is contained in:
yuyafei 2016-07-05 16:12:41 +08:00 committed by qinchunhua
parent 9fdb5a43f2
commit c97f3eec01
3 changed files with 6 additions and 6 deletions

View File

@ -227,8 +227,8 @@ def apply_ovs_ipv6_flows(ovs, bridge, params):
if __name__ == "__main__":
if len(sys.argv) != 4:
print ("usage: %s [online|offline] vif-domid-idx [ipv4|ipv6|all] " %
os.path.basename(sys.argv[0]))
print("usage: %s [online|offline] vif-domid-idx [ipv4|ipv6|all] " %
os.path.basename(sys.argv[0]))
sys.exit(1)
else:
command, vif_raw, net_type = sys.argv[1:4]

View File

@ -123,8 +123,8 @@ def apply_ebtables_rules(command, params):
if __name__ == "__main__":
if len(sys.argv) < 3:
print ("usage: %s dom_id online|offline [vif]" %
os.path.basename(sys.argv[0]))
print("usage: %s dom_id online|offline [vif]" %
os.path.basename(sys.argv[0]))
sys.exit(1)
else:
dom_id, command = sys.argv[1:3]

4
tools/regression_tester.py Executable file → Normal file
View File

@ -62,8 +62,8 @@ def main():
original_branch = run("git rev-parse --abbrev-ref HEAD")
run("git review -d %s" % options.review)
else:
print ("no gerrit review number specified, running on latest commit"
"on current branch.")
print("no gerrit review number specified, running on latest commit"
"on current branch.")
test_works = False