summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Dieter <jdieter@gmail.com>2007-03-26 16:05:43 +0300
committerJonathan Dieter <jdieter@gmail.com>2007-03-26 16:05:43 +0300
commit9f1276c8c12780d8e00fa0b5e3335919d8bbcc1e (patch)
treed898edcab0419eda19ae6bdf66885ae3b88d01d1
parentfefaa0389539e4433d6ae4d0c85a459304bbbbe6 (diff)
downloadpresto-9f1276c8c12780d8e00fa0b5e3335919d8bbcc1e.tar.gz
presto-9f1276c8c12780d8e00fa0b5e3335919d8bbcc1e.tar.xz
presto-9f1276c8c12780d8e00fa0b5e3335919d8bbcc1e.zip
Fixed another mirrorlist bug
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
-rw-r--r--ChangeLog3
-rw-r--r--presto.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f37c5b2..6366884 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+* Mon Mar 27 2007 Jonathan Dieter <jdieter@gmail.com> - 0.2.5
+ - Fix another mirrorlist bug
+
* Mon Mar 26 2007 Jonathan Dieter <jdieter@gmail.com> - 0.2.4
- Minor optimization
- Added logging to /var/log/presto.log
diff --git a/presto.py b/presto.py
index 3db6e93..5741961 100644
--- a/presto.py
+++ b/presto.py
@@ -52,7 +52,7 @@ def config_hook(conduit):
help="disable Presto plugin and don't download any deltarpms")
# Set up Presto repositories
-def prereposetup_hook(conduit):
+def postreposetup_hook(conduit):
opts, commands = conduit.getCmdLine()
if not opts.disablepresto:
conduit.info(2, 'Setting up Presto')
@@ -68,8 +68,6 @@ def prereposetup_hook(conduit):
(ctype, csum) = xmldata.checksum
parser = PrestoMDParser(xml)
active_repo.p_repo.deltalist = parser.getDeltaList()
-
- conduit.info(2, 'Setting up repositories')
else:
conduit.info(5, '--disablepresto specified - Presto disabled')