From c2b14f3bad91db53a5fe403c81ce43c91c024117 Mon Sep 17 00:00:00 2001 From: "jkeating@localhost.localdomain" <> Date: Tue, 17 Oct 2006 02:07:51 -0400 Subject: [PATCH] Do the arch switch from i386 to i686 in a better (I hope) way --- gather/gather.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gather/gather.py b/gather/gather.py index a4ea49bf..302e3def 100755 --- a/gather/gather.py +++ b/gather/gather.py @@ -25,8 +25,9 @@ class Gather(yum.YumBase): self.cleanSqlite() # clean metadata that might be in the cache from previous runs self.doRepoSetup() if opts.arch == 'i386': - opts.arch = 'i686' # ensures we get the right archlist - arches = yum.rpmUtils.arch.getArchList(opts.arch) + arches = yum.rpmUtils.arch.getArchList('i686') + else: + arches = yum.rpmUtils.arch.getArchList(opts.arch) self.doSackSetup(arches) self.logger = yum.logging.getLogger("yum.verbose.fist") self.opts = opts