mirror of
https://github.com/archlinux-jerry/buildbot
synced 2024-12-05 03:10:41 +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
3
repo.py
3
repo.py
|
@ -315,7 +315,8 @@ 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
|
||||
assert not [None for a in arch if a not in ARCHS] # ensure arch (= ARCHS
|
||||
if arch is not None:
|
||||
assert not [None for a in arch if a not in ARCHS] # ensure arch (= ARCHS
|
||||
if args.update:
|
||||
_update()
|
||||
elif args.regenerate:
|
||||
|
|
Loading…
Reference in a new issue