aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/svn.py
diff options
context:
space:
mode:
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):