diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2006-02-20 18:15:47 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2006-02-20 18:15:47 +0000 |
commit | c0a07d830c72e14ca8ff1840f8dd76f9cde56408 (patch) | |
tree | 136bddd3cc98cb07b7af161b1fe98a12a1be57bb /RepSys/log.py | |
parent | f33dddea61bfb1509eafde51c0baf131e88d7799 (diff) | |
download | mgarepo-c0a07d830c72e14ca8ff1840f8dd76f9cde56408.tar mgarepo-c0a07d830c72e14ca8ff1840f8dd76f9cde56408.tar.gz mgarepo-c0a07d830c72e14ca8ff1840f8dd76f9cde56408.tar.bz2 mgarepo-c0a07d830c72e14ca8ff1840f8dd76f9cde56408.tar.xz mgarepo-c0a07d830c72e14ca8ff1840f8dd76f9cde56408.zip |
- fixed the "end" revision number, which was being passed as None
Diffstat (limited to 'RepSys/log.py')
-rw-r--r-- | RepSys/log.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/RepSys/log.py b/RepSys/log.py index d1b0968..0c49d12 100644 --- a/RepSys/log.py +++ b/RepSys/log.py @@ -205,8 +205,9 @@ def dump_file(releases, template=None): templpath) else: params["file"] = templpath - releases = group_releases_by_author(releases) - params["searchList"] = [{"releases_by_author" : releases}] + releases_author = group_releases_by_author(releases) + params["searchList"] = [{"releases_by_author" : releases_author, + "releases" : releases}] t = Template(**params) return repr(t) @@ -245,7 +246,7 @@ def get_revision_offset(): except (ValueError, TypeError): raise Error, ("Invalid revision-offset number in configuration " "file(s).") - return revoffset + return revoffset or 0 def svn2rpm(pkgdirurl, rev=None, size=None, submit=False, template=None): |