aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2006-10-20 21:58:28 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2006-10-20 21:58:28 +0000
commit47253e1456e038e9d155655f767cf05b608f69d6 (patch)
tree0eb744a5652b487dc1a0d53f9c459c4724c5821c
parentf36eb3974bb8b0eafe71aee733a27d5c5836e457 (diff)
downloadmgarepo-47253e1456e038e9d155655f767cf05b608f69d6.tar
mgarepo-47253e1456e038e9d155655f767cf05b608f69d6.tar.gz
mgarepo-47253e1456e038e9d155655f767cf05b608f69d6.tar.bz2
mgarepo-47253e1456e038e9d155655f767cf05b608f69d6.tar.xz
mgarepo-47253e1456e038e9d155655f767cf05b608f69d6.zip
- fixed small bug in the svn log parser in which it was getting more lines
than the entry had.
-rw-r--r--RepSys/svn.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/RepSys/svn.py b/RepSys/svn.py
index bc565b0..1483a02 100644
--- a/RepSys/svn.py
+++ b/RepSys/svn.py
@@ -283,12 +283,13 @@ class SVN:
changedheader = 0
for line in output.splitlines():
line = line.rstrip()
- if not line:
- appendchanged = 0
if changedheader:
appendchanged = 1
changedheader = 0
elif appendchanged:
+ if not line:
+ appendchanged = 0
+ continue
m = changedpat.match(line)
if m:
changed = m.groupdict().copy()