aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/svn.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-11-29 08:06:35 +0100
committerPapoteur <papoteur@mageialinux-online.org>2015-11-29 08:06:35 +0100
commit4efedcc1a68b65ba80c20b6d51579cd61da46537 (patch)
treef990a27367d14592ce6403b2740e70d14f5c0f1a /MgaRepo/svn.py
parent9f0f55fd9ac2985a7f2e7c52010e00c9b3364fb1 (diff)
downloadmgarepo-4efedcc1a68b65ba80c20b6d51579cd61da46537.tar
mgarepo-4efedcc1a68b65ba80c20b6d51579cd61da46537.tar.gz
mgarepo-4efedcc1a68b65ba80c20b6d51579cd61da46537.tar.bz2
mgarepo-4efedcc1a68b65ba80c20b6d51579cd61da46537.tar.xz
mgarepo-4efedcc1a68b65ba80c20b6d51579cd61da46537.zip
Manage exec command with subprocess.Popen in more cases
Diffstat (limited to 'MgaRepo/svn.py')
-rw-r--r--MgaRepo/svn.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/MgaRepo/svn.py b/MgaRepo/svn.py
index 6de8a85..56b4da7 100644
--- a/MgaRepo/svn.py
+++ b/MgaRepo/svn.py
@@ -208,7 +208,10 @@ class SVN:
if lines is None:
return None
pairs = [[w.strip() for w in line.split(":", 1)] for line in lines]
- info = dict(pairs)
+ info = {}
+ for pair in pairs:
+ if pair != ['']:
+ info[pair[0]]=pair[1]
return info
def ls(self, path, **kwargs):