diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2015-11-29 08:06:35 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2015-11-29 08:06:35 +0100 |
commit | 4efedcc1a68b65ba80c20b6d51579cd61da46537 (patch) | |
tree | f990a27367d14592ce6403b2740e70d14f5c0f1a /MgaRepo/svn.py | |
parent | 9f0f55fd9ac2985a7f2e7c52010e00c9b3364fb1 (diff) | |
download | mgarepo-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.py | 5 |
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): |