aboutsummaryrefslogtreecommitdiffstats
path: root/RepSys/log.py
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas@mandriva.com>2006-02-16 18:25:24 +0000
committerAndreas Hasenack <andreas@mandriva.com>2006-02-16 18:25:24 +0000
commitb66f2dde58c8039de50bdb772db8701fae0d2505 (patch)
treeb657ae484b1764c18029d7bdc29580fb5ba5bfa6 /RepSys/log.py
parent3f6e695937dac1d9f766acb0b8c1cafa62635aa1 (diff)
downloadmgarepo-b66f2dde58c8039de50bdb772db8701fae0d2505.tar
mgarepo-b66f2dde58c8039de50bdb772db8701fae0d2505.tar.gz
mgarepo-b66f2dde58c8039de50bdb772db8701fae0d2505.tar.bz2
mgarepo-b66f2dde58c8039de50bdb772db8701fae0d2505.tar.xz
mgarepo-b66f2dde58c8039de50bdb772db8701fae0d2505.zip
- place revision-offset in [log] section and not in [global]
- added revision-offset to default config file
Diffstat (limited to 'RepSys/log.py')
-rw-r--r--RepSys/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/log.py b/RepSys/log.py
index a7210a6..d1b0968 100644
--- a/RepSys/log.py
+++ b/RepSys/log.py
@@ -241,7 +241,7 @@ def parse_repsys_entry(revlog):
def get_revision_offset():
try:
- revoffset = config.getint("global", "revision-offset", 0)
+ revoffset = config.getint("log", "revision-offset", 0)
except (ValueError, TypeError):
raise Error, ("Invalid revision-offset number in configuration "
"file(s).")