Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

tentatively fixes #309 #310

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions napalm_base/clitools/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from __future__ import unicode_literals

# stdlib
import ast
import sys
import logging
import getpass
Expand Down Expand Up @@ -121,6 +120,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 {}