summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Grover <andy@groveronline.com>2018-05-08 17:39:50 -0700
committerGitHub <noreply@github.com>2018-05-08 17:39:50 -0700
commitcea94e26b12c5818fc802f6e7f5187bdfe7d5566 (patch)
tree9b83615f720dc2a837fa6aa478578444b9e07ddf
parent4b494b6eb25fea71a7c536f8b6e16b3b6e0b83a4 (diff)
parent421987651374de609cf0e8ccff6df1f2758e1bcd (diff)
downloadconfigshell-fb-cea94e26b12c5818fc802f6e7f5187bdfe7d5566.tar.gz
Merge pull request #44 from tjakob/semicolon
Fix failing to parse param like pool/rbd;id=user
-rw-r--r--configshell/shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configshell/shell.py b/configshell/shell.py
index 3400f6d..bb4dd32 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*')