mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
artiq_client: python 3.7 compatibility
This commit is contained in:
parent
ec966de007
commit
0d05d4b813
@ -169,7 +169,7 @@ def _action_scan_devices(remote, args):
|
||||
|
||||
|
||||
def _action_scan_repository(remote, args):
|
||||
if args.async:
|
||||
if getattr(args, "async"):
|
||||
remote.scan_repository_async(args.revision)
|
||||
else:
|
||||
remote.scan_repository(args.revision)
|
||||
|
Loading…
Reference in New Issue
Block a user