From af347fd6a343b5e310aeafb67d7849c0bfbbf69e Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 4 Aug 2009 14:03:40 -0700 Subject: [PATCH] Avoid conflicting with yum internals --- src/bin/pkgorder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pkgorder b/src/bin/pkgorder index b321e671..e7ff0588 100755 --- a/src/bin/pkgorder +++ b/src/bin/pkgorder @@ -46,7 +46,7 @@ import yum class PackageOrderer(yum.YumBase): def __init__(self, arch=None): yum.YumBase.__init__(self) - self.arch = arch + self._arch = arch def _transactionDataFactory(self): return yum.transactioninfo.SortableTransactionData() @@ -71,7 +71,7 @@ class PackageOrderer(yum.YumBase): self.repos.setCache(0) self.doRepoSetup() - self.doSackSetup(rpmUtils.arch.getArchList(self.arch)) + self.doSackSetup(rpmUtils.arch.getArchList(self._arch)) self.doTsSetup() self.doGroupSetup() self.repos.populateSack('enabled', 'filelists')