mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-11-22 13:00:40 +08:00
repo.py: assertion bug fix
This commit is contained in:
parent
2b41bf2084
commit
6de893efa2
1 changed files with 2 additions and 1 deletions
1
repo.py
1
repo.py
|
@ -315,6 +315,7 @@ if __name__ == '__main__':
|
|||
arch = arch.split(',') if arch is not False else None
|
||||
remove_pkgs = args.remove
|
||||
remove_pkgs = remove_pkgs.split(',') if remove_pkgs is not False else None
|
||||
if arch is not None:
|
||||
assert not [None for a in arch if a not in ARCHS] # ensure arch (= ARCHS
|
||||
if args.update:
|
||||
_update()
|
||||
|
|
Loading…
Reference in a new issue