diff options
Diffstat (limited to 'py/mock.py')
-rwxr-xr-x | py/mock.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |