1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-25 19:52:12 +01:00

- buildarch (=scheduler/repo arch) should be the correct fallback

This commit is contained in:
Marcus Hüwe 2009-08-09 18:10:13 +00:00
parent f01be2f625
commit 863bd5664d

View File

@ -141,7 +141,7 @@ class Pac:
self.mp['extproject'] = node.get('project').replace(':', ':/')
self.mp['extrepository'] = node.get('repository').replace(':', ':/')
self.mp['repopackage'] = node.get('package') or '_repository'
self.mp['repoarch'] = node.get('repoarch') or self.mp['arch']
self.mp['repoarch'] = node.get('repoarch') or self.mp['buildarch']
if pacsuffix == 'deb' and not (self.mp['name'] and self.mp['arch'] and self.mp['version']):
raise oscerr.APIError(