summaryrefslogtreecommitdiffstats
path: root/presto.py
diff options
context:
space:
mode:
authorJonathan Dieter <jdieter@gmail.com>2007-03-26 21:40:10 +0300
committerJonathan Dieter <jdieter@gmail.com>2007-03-26 21:40:10 +0300
commitff77b8f02a429541f08829536fc8e4da5f38b6e4 (patch)
tree50fab07b79106226f37c6df07952e83f308eb7ae /presto.py
parentb345ca9463e89180c510f0e31959778a4122c501 (diff)
downloadpresto-ff77b8f02a429541f08829536fc8e4da5f38b6e4.tar.gz
presto-ff77b8f02a429541f08829536fc8e4da5f38b6e4.tar.xz
presto-ff77b8f02a429541f08829536fc8e4da5f38b6e4.zip
Do full (slow) MD5 check when checking to see if deltarpm can be applied against disk contents
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
Diffstat (limited to 'presto.py')
-rw-r--r--presto.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/presto.py b/presto.py
index d66d960..60e391c 100644
--- a/presto.py
+++ b/presto.py
@@ -141,6 +141,7 @@ def postdownload_hook(conduit):
try:
drpm.apply(pkg.reallocalpath, pkg.localpath)
except:
+ conduit.info(2, "Error rebuilding rpm from %s!" % pkg.localpath)
failure = True
this_failure = True
if not this_failure:
@@ -171,7 +172,7 @@ def postdownload_hook(conduit):
os.unlink(drpm_path)
if failure:
- raise PluginYumExit("Error rebuilding at least one deltarpm. Please run report this error to\nhttps://hosted.fedoraproject.org/projects/presto/newticket. To bypass this problem, run yum \nwith the --disablepresto option")
+ raise PluginYumExit("Error rebuilding at least one deltarpm. Please report this error to\nhttp://hosted.fedoraproject.org/projects/presto/newticket. To bypass this problem, run yum \nwith the --disablepresto option")
def posttrans_hook(conduit):
global rpm_size