Commit 7e0a4c5a authored by Ross Patterson's avatar Ross Patterson

Place lock file cleanup in a better place, run() already has a finally clause

parent 3be5ff62
...@@ -20,9 +20,9 @@ def run(): ...@@ -20,9 +20,9 @@ def run():
starter.setConfiguration(opts.configroot) starter.setConfiguration(opts.configroot)
try: try:
starter.prepare() starter.prepare()
starter.run()
finally: finally:
starter.shutdown() starter.shutdown()
starter.run()
def configure(configfile): def configure(configfile):
""" Provide an API which allows scripts like zopectl to configure """ Provide an API which allows scripts like zopectl to configure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment