Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-10-02 20:36:33 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-10-02 21:09:24 (GMT)
commit7a981b054d0f81028eba5713c8babab2ad289f5c (patch)
tree6af2a0a608bf63679448e0526bd6312e6bfb2983 /lib
parentb75761585bc09154583348c2df5aa6232276a184 (diff)
Use arch-aware exclude list for yumcfg too
Use arch considerations in yumcfg like the repos module. This involved promoting fedora_arch to be a global option.
Diffstat (limited to 'lib')
-rw-r--r--lib/ooblib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ooblib.py b/lib/ooblib.py
index 93cf7d8..dc3fba6 100644
--- a/lib/ooblib.py
+++ b/lib/ooblib.py
@@ -70,7 +70,7 @@ def arch_matches(myarch, arch):
else:
return False
-def add_packages_from_xml(fd, pkglist, myarch=None):
+def add_packages_from_xml(fd, pkglist, myarch):
et = ElementTree(file=fd)
root = et.getroot()
for i in root.getchildren():