bodhi/metadata.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 282ded5ddb69ba6d1c64ea88b580f61336c7a662
Author: Luke Macken <lmacken(a)redhat.com>
Date: Thu Oct 13 18:56:20 2011 -0400
Fix our updateinfo package src url to point to the appropriate arch (releng#4860)
diff --git a/bodhi/metadata.py b/bodhi/metadata.py
index 503ec64..bd19daf 100644
--- a/bodhi/metadata.py
+++ b/bodhi/metadata.py
@@ -246,7 +246,7 @@ class ExtendedMetadata(object):
filename = "%s.%s.rpm" % (rpm['nvr'],
rpm['arch'])
if rpm['arch'] == 'src':
arch = 'SRPMS'
- elif rpm['arch'] == 'noarch':
+ elif rpm['arch'] in ('noarch', 'i686'):
arch = 'i386'
else:
arch = rpm['arch']
Show replies by date