summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-04 14:57:25 +0000
committerGerrit Code Review <review@openstack.org>2016-08-04 14:57:25 +0000
commit9defc52f68d7447add1edf84bb62907c568d169c (patch)
treedf3d6a7cf2a93f37f7170246cfb3f2b83053559b /tools
parentc54a2618ac6ef9fe8fc965f79f192bc3367cbe83 (diff)
parent17ed8bf92930f774677bab1e6713bdc04a7dc767 (diff)
downloadnova-9defc52f68d7447add1edf84bb62907c568d169c.tar.gz
Merge "xenserver: fix an output format error in cleanup_smp_locks"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/xenserver/cleanup_sm_locks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xenserver/cleanup_sm_locks.py b/tools/xenserver/cleanup_sm_locks.py
index 5d0f517839..df64fe88b9 100755
--- a/tools/xenserver/cleanup_sm_locks.py
+++ b/tools/xenserver/cleanup_sm_locks.py
@@ -115,8 +115,8 @@ def main():
if options.dry_run:
print("** Dry Run **")
- print("Total locks removed: ", lockpaths_removed)
- print("Total namespaces removed: ", nspaths_removed)
+ print("Total locks removed: %d" % lockpaths_removed)
+ print("Total namespaces removed: %d" % nspaths_removed)
if __name__ == '__main__':