forked from M-Labs/artiq
artiq_client: python 3.7 compatibility
This commit is contained in:
parent
dd78c0e53d
commit
7cf25f8539
|
@ -175,7 +175,7 @@ def _action_scan_devices(remote, args):
|
||||||
|
|
||||||
|
|
||||||
def _action_scan_repository(remote, args):
|
def _action_scan_repository(remote, args):
|
||||||
if args.async:
|
if getattr(args, "async"):
|
||||||
remote.scan_repository_async(args.revision)
|
remote.scan_repository_async(args.revision)
|
||||||
else:
|
else:
|
||||||
remote.scan_repository(args.revision)
|
remote.scan_repository(args.revision)
|
||||||
|
|
Loading…
Reference in New Issue