aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RepSys/log.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/RepSys/log.py b/RepSys/log.py
index 10026c3..b476618 100644
--- a/RepSys/log.py
+++ b/RepSys/log.py
@@ -425,11 +425,11 @@ def svn2rpm(pkgdirurl, rev=None, size=None, submit=False,
releases.append(release)
prevrevision = relrevision
- # look for commits that have been not submitted (released) yet
- # this is done by getting all log entries newer (greater revision no.)
- # than releasesdata[0] (in the case it exists)
- if releasesdata:
- latest_revision = releasesdata[0][0] # "relrevision"
+ # look for commits that have been not submited (released) yet
+ # this is done by getting all log entries newer (revision larger)
+ # than releaseslog[0] (in the case it exists)
+ if releaseslog:
+ latest_revision = releaseslog[0].revision
else:
latest_revision = 0
notsubmitted = [entry for entry in currentlog