summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Grover <andy@groveronline.com>2017-09-29 13:10:55 -0700
committerGitHub <noreply@github.com>2017-09-29 13:10:55 -0700
commit2daf2eb0f3cc7058611b48e6d4b0246729374125 (patch)
tree137a27fbe44d3836fa638c60187f03dfc2e12f25
parentef75619ffd12fbe253575e70b658d57c0b3abb21 (diff)
parent8970d90888657ae352a6a48ba1e63f746005a163 (diff)
downloadconfigshell-fb-2daf2eb0f3cc7058611b48e6d4b0246729374125.tar.gz
Merge pull request #36 from lxbsz/fix_for_tcmu
Fix failing to pasre par=val parameters
-rw-r--r--configshell/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configshell/shell.py b/configshell/shell.py
index 3d0fce9..382d67b 100644
--- a/configshell/shell.py
+++ b/configshell/shell.py
@@ -118,7 +118,7 @@ class ConfigShell(object):
# Grammar of the command line
command = locatedExpr(Word(alphanums + '_'))('command')
- var = Word(alphanums + '_\+/.<>()~@:-%[]')
+ var = Word(alphanums + '=_\+/.<>()~@:-%[]')
value = var
keyword = Word(alphanums + '_\-')
kparam = locatedExpr(keyword + Suppress('=') + Optional(value, default=''))('kparams*')