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

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