From 52f7c5d37fe48e3980e6dc967382b6558580df3d Mon Sep 17 00:00:00 2001 From: Will Woods Date: Fri, 22 Jul 2011 16:59:56 -0400 Subject: [PATCH] fixup for bcj NameError --- src/pylorax/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 6698e7e1..4addb3d9 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -51,14 +51,14 @@ from discinfo import DiscInfo class ArchData(DataHolder): lib64_arches = ("x86_64", "ppc64", "sparc64", "s390x", "ia64") - bcj = dict(i386="x86", x86_64="x86", - ppc="powerpc", ppc64="powerpc", - sparc="sparc", sparc64="sparc") + bcj_arch = dict(i386="x86", x86_64="x86", + ppc="powerpc", ppc64="powerpc", + sparc="sparc", sparc64="sparc") def __init__(self, buildarch): self.buildarch = buildarch self.basearch = getBaseArch(buildarch) self.libdir = "lib64" if self.basearch in self.lib64_arches else "lib" - self.bcj = bcj.get(self.basearch) + self.bcj = self.bcj_arch.get(self.basearch) class Lorax(BaseLoraxClass):