bodhi/masher.py | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
New commits:
commit 7174facc8a1d282c51d5a8d9882561cfafb80463
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Nov 21 13:34:48 2008 -0500
Hack around our .newkey hack for F10.
diff --git a/bodhi/masher.py b/bodhi/masher.py
index f98074c..c0c599c 100644
--- a/bodhi/masher.py
+++ b/bodhi/masher.py
@@ -446,11 +446,12 @@ class MashTask(Thread):
arches = os.listdir(newrepo)
# HACK.
- log.debug("Moving each arch to arch.newkey")
- for arch in arches:
- if not arch.endswith('.newkey'):
- shutil.move(join(newrepo, arch), join(newrepo, '%s.newkey' %
arch))
- arches = os.listdir(newrepo)
+ if 'f9' in repo or 'f8' in repo:
+ log.debug("Moving each arch to arch.newkey")
+ for arch in arches:
+ if not arch.endswith('.newkey'):
+ shutil.move(join(newrepo, arch), join(newrepo,
'%s.newkey' % arch))
+ arches = os.listdir(newrepo)
log.debug("Running sanity checks on %s" % newrepo)
Show replies by date