Blob Blame History Raw
commit 0954b42554b7f78809d9050886b419a99e28d289
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
Date:   Tue May 13 15:50:52 2014 +0200

    Make --setopt handle spaces properly. BZ 1094373

diff --git a/cli.py b/cli.py
index c1ef023..aa73278 100755
--- a/cli.py
+++ b/cli.py
@@ -193,7 +193,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
             if len(vals) < 2:
                 bad_setopt_ne.append(item)
                 continue
-            k,v = vals
+            k, v = [i.strip() for i in vals]
             period = k.rfind('.')
             if period != -1:
                 repo = k[:period]