Blame SOURCES/0004-Fix-failing-to-pasre-param-like-cfgstr-par-val.patch

e8df81
From 341018797fcb47bdeda1a5c87266d4b14f51c945 Mon Sep 17 00:00:00 2001
e8df81
From: Xiubo Li <xiubli@redhat.com>
e8df81
Date: Thu, 22 Feb 2018 01:46:20 -0500
e8df81
Subject: [PATCH] Fix failing to pasre param like "cfgstr,par=val"
e8df81
e8df81
Through targetcli-fb to create LIO ceph target device like:
e8df81
/backstores/user:rbd create block0 1G pool/blk,max_data_area_mb=16
e8df81
then the ",max_data_area_mb=16" string will be ignored.
e8df81
e8df81
Signed-off-by: Xiubo Li <xiubli@redhat.com>
e8df81
---
e8df81
 configshell/shell.py | 2 +-
e8df81
 1 file changed, 1 insertion(+), 1 deletion(-)
e8df81
e8df81
diff --git a/configshell/shell.py b/configshell/shell.py
e8df81
index 96c754a..3400f6d 100644
e8df81
--- a/configshell/shell.py
e8df81
+++ b/configshell/shell.py
e8df81
@@ -118,7 +118,7 @@ class ConfigShell(object):
e8df81
 
e8df81
         # Grammar of the command line
e8df81
         command = locatedExpr(Word(alphanums + '_'))('command')
e8df81
-        var = Word(alphanums + '=_\+/.<>()~@:-%[]')
e8df81
+        var = Word(alphanums + ',=_\+/.<>()~@:-%[]')
e8df81
         value = var
e8df81
         keyword = Word(alphanums + '_\-')
e8df81
         kparam = locatedExpr(keyword + Suppress('=') + Optional(value, default=''))('kparams*')
e8df81
-- 
e8df81
1.8.3.1
e8df81