From d0de5a340891f21be74543099d75f6e3b8136a72 Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 19 Jun 2017 14:09:48 -0700 Subject: [PATCH] [cli] properly fix manhole_bind/enable usage --- disco/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disco/cli.py b/disco/cli.py index a689741..918043f 100644 --- a/disco/cli.py +++ b/disco/cli.py @@ -51,8 +51,8 @@ def disco_main(run=False): config = ClientConfig() config.manhole_enable = args.manhole - if config.manhole_enable: - config.manhole_bind = args.manhole_bind.split(':', 1) + if args.manhole_bind: + config.manhole_bind = args.manhole_bind for k, v in six.iteritems(vars(args)): if hasattr(config, k) and v is not None: