From b8e86b458faaf2142cec4e8bf817539ba162c4b2 Mon Sep 17 00:00:00 2001
From: Nicolas KAROLAK <nicolas@karolak.fr>
Date: Thu, 17 Oct 2019 10:20:06 +0000
Subject: [PATCH] fix lint issue

---
 tests/test_dns_records.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_dns_records.py b/tests/test_dns_records.py
index 513cd117..a513bdc2 100755
--- a/tests/test_dns_records.py
+++ b/tests/test_dns_records.py
@@ -36,7 +36,7 @@ def get_dns_servers() -> set:
         servers.extend(
             [":".join(map(str, dns[2])) for dns in bus_client.DNS if dns[1] == 10]
         )  # IPv6
-    except:
+    except Exception:
         pass
 
     # network-manager method
-- 
GitLab