diff options
Diffstat (limited to 'test/packaging/rpm/internationalization.py')
-rw-r--r-- | test/packaging/rpm/internationalization.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/packaging/rpm/internationalization.py b/test/packaging/rpm/internationalization.py index e9fcc12..a9bd926 100644 --- a/test/packaging/rpm/internationalization.py +++ b/test/packaging/rpm/internationalization.py @@ -36,6 +36,13 @@ import os import TestSCons machine = TestSCons.machine +try: + # Try to get the actual machine type (like i586), since + # TestSCons maps all ix86 types to a i386 machine internally. + import os + machine = os.uname()[4] +except AttributeError: + pass _python_ = TestSCons._python_ test = TestSCons.TestSCons() |