summaryrefslogtreecommitdiffstats
path: root/py/mock.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/mock.py')
-rwxr-xr-xpy/mock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mock.py b/py/mock.py
index f585002..975ef42 100755
--- a/py/mock.py
+++ b/py/mock.py
@@ -383,7 +383,7 @@ decorate(traceLog())
def check_arch_combination(target_arch):
host_arch = os.uname()[-1]
try:
- if target_arch not in legal_arches[host_arch]:
+ if target_arch not in legal_arches[host_arch] + ('noarch',):
raise mock.exception.InvalidArchitecture(
"Cannot build target %s on arch %s" % (target_arch, host_arch))
except KeyError: