Commit 2309b0eb authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[scripts][execute] Cleanup cache parameter handling

parent 851dc6bd
......@@ -52,7 +52,7 @@ options:
-h, --help Shows this help message and exit
-V, --version Shows program's version number and exit
-d, --debug Runs executor in debugging mode
-c, --cache=<path> Cache prefix, otherwise defaults to '/cache'
-c, --cache=path Cache prefix [default: /cache].
--loop=loop_addr Address for loop-related I/O requests
"""
......@@ -169,7 +169,7 @@ def main():
logger = logging.getLogger(__name__)
# Retrieve the cache path
cache = args["--cache"] if args["--cache"] is not None else "/cache"
cache = args.get("--cache")
# Creates the 0MQ socket for communication with BEAT
context = zmq.Context()
......
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