summaryrefslogtreecommitdiff
path: root/tools/simulator.py
diff options
context:
space:
mode:
authorJaveme <zhangmei.li@easystack.cn>2016-01-22 20:36:43 +0800
committerJaveme <zhangmei.li@easystack.cn>2016-01-22 20:36:43 +0800
commit6e2f4efb1949db0ed32774f8b8de08f1f4aaeae1 (patch)
treec4803fd71ff268cedadd20fec3ba0f556e04517f /tools/simulator.py
parent7aa6856f6c79f7a03870bc041f29a55206e0e205 (diff)
downloadoslo-messaging-6e2f4efb1949db0ed32774f8b8de08f1f4aaeae1.tar.gz
replace string format arguments with function parameters
There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Iaa15bc52d1d8832032cc46205effb49630cea494 Closes-Bug: #1321274
Diffstat (limited to 'tools/simulator.py')
-rwxr-xr-xtools/simulator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/simulator.py b/tools/simulator.py
index 47d5b91..e77a75c 100755
--- a/tools/simulator.py
+++ b/tools/simulator.py
@@ -446,7 +446,7 @@ def main():
with open('./oslo_res_%s.txt' % args.server, 'a+') as f:
f.write(log_msg + '\n')
- LOG.info("calls finished, wait %d seconds" % args.exit_wait)
+ LOG.info("calls finished, wait %d seconds", args.exit_wait)
time.sleep(args.exit_wait)