diff options
author | Jonathan Dieter <jdieter@gmail.com> | 2007-03-26 21:40:10 +0300 |
---|---|---|
committer | Jonathan Dieter <jdieter@gmail.com> | 2007-03-26 21:40:10 +0300 |
commit | ff77b8f02a429541f08829536fc8e4da5f38b6e4 (patch) | |
tree | 50fab07b79106226f37c6df07952e83f308eb7ae /presto.py | |
parent | b345ca9463e89180c510f0e31959778a4122c501 (diff) | |
download | presto-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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |