From 7cf25f85393edf2cd943bab9fe083628454b18ee Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 26 Feb 2019 17:09:38 +0800 Subject: [PATCH] artiq_client: python 3.7 compatibility --- artiq/frontend/artiq_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/frontend/artiq_client.py b/artiq/frontend/artiq_client.py index 7f5c63d7c..3210aa704 100755 --- a/artiq/frontend/artiq_client.py +++ b/artiq/frontend/artiq_client.py @@ -175,7 +175,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)