summaryrefslogtreecommitdiffstats
path: root/shared/prestoDownload.py
diff options
context:
space:
mode:
Diffstat (limited to 'shared/prestoDownload.py')
-rw-r--r--shared/prestoDownload.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/shared/prestoDownload.py b/shared/prestoDownload.py
index 340ad1c..45318ba 100644
--- a/shared/prestoDownload.py
+++ b/shared/prestoDownload.py
@@ -117,7 +117,6 @@ def downloadPkgs(conduit, pkglist):
adderror(po, str(e))
else:
rebuild_pkgs.append(po)
- po.simple['deltalocalpath'] = deltalocal
if errors.has_key(po):
del errors[po]
@@ -129,6 +128,7 @@ def downloadPkgs(conduit, pkglist):
del po.simple['realpackagesize']
del po.simple['realrelativepath']
del po.simple['reallocalpath']
+ po.simple['deltalocalpath'] = deltalocal
# Rebuild rpms from downloaded deltarpms
for po in rebuild_pkgs:
@@ -145,9 +145,7 @@ def downloadPkgs(conduit, pkglist):
pass
else:
# Set package type to local, so yum doesn't try to download it later
- # po.pkgtype = "local" # If we set this, we can't auto-install public keys
- # and yum is smart enough to detect the full rpm and
- # not redownload it.
+ po.pkgtype = "local"
# Check to see whether or not we should keep the drpms
# FIXME: Is there any way to see whether or not a Boolean option was not set?