Skip to content

Commit

Permalink
tentatively fixes napalm-automation#309
Browse files Browse the repository at this point in the history
  • Loading branch information
pierky committed Sep 20, 2017
1 parent e21f10f commit f0ced86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm_base/clitools/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ def configure_logging(logger, debug):

def parse_optional_args(optional_args):
if optional_args is not None:
return {x.split('=')[0]: ast.literal_eval(x.split('=')[1])
return {x.split('=')[0]: x.split('=')[1]
for x in optional_args.split(',')}
return {}

0 comments on commit f0ced86

Please sign in to comment.