From 06c6be70140cba1f83124308f051b538202dd06c Mon Sep 17 00:00:00 2001 From: jiansong Date: Thu, 1 Sep 2016 00:29:45 -0700 Subject: [PATCH] Reference to unknown CONF in fakemode.py The code reads else: print("Starting server:%s" % pid) pid_file = CONF.pid_file with open(pid_file, 'w') as f: CONF is not defined I tried to add this information to the common/cfg, but I'm not sure this add is correct, please help me to check Closes-Bug:#1617973 Change-Id: I31e63b0321da912f6b59fbbc901e0141a7d1e73f --- trove/cmd/fakemode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trove/cmd/fakemode.py b/trove/cmd/fakemode.py index 30ffadaefe..0b29feafc4 100644 --- a/trove/cmd/fakemode.py +++ b/trove/cmd/fakemode.py @@ -39,7 +39,7 @@ def main(conf): start_server(conf) else: print("Starting server:%s" % pid) - pid_file = CONF.pid_file + pid_file = conf.pid_file with open(pid_file, 'w') as f: f.write(str(pid)) else: