diff options
-rw-r--r-- | RepSys/log.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/RepSys/log.py b/RepSys/log.py index b5bf212..009e4e0 100644 --- a/RepSys/log.py +++ b/RepSys/log.py @@ -413,11 +413,11 @@ def svn2rpm(pkgdirurl, rev=None, size=None, submit=False, releases.append(release) prevrevision = 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 + # 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" else: latest_revision = 0 notsubmitted = [entry for entry in currentlog |