Commit 851dc6bd authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[scripts][execute] Cleanup db_addr handling

parent 49ce9738
......@@ -180,10 +180,11 @@ def main():
# Creates the 0MQ socket for communication with the databases (if necessary)
db_socket = None
if args["<db_addr>"]:
db_addr = args.get("<db_addr>")
if db_addr:
db_socket = context.socket(zmq.PAIR)
logger.debug("zmq client connected to db `%s'", args["<db_addr>"])
logger.debug("zmq client connected to db `%s'", db_addr)
loop_socket = None
loop_addr = args.get("--loop")
Supports Markdown
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