From 3d841cf14f2da6f8e808587417427d5cc72e0338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Thu, 9 Nov 2017 17:19:17 +0100 Subject: [PATCH] Checked too-many-returns error Checked both places with a 'too-many-return-statements' warning, both were sensible, marked them as such. --- qubesmanager/firewall.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qubesmanager/firewall.py b/qubesmanager/firewall.py index 8db6ba8..a825c86 100644 --- a/qubesmanager/firewall.py +++ b/qubesmanager/firewall.py @@ -187,6 +187,7 @@ class QubesFirewallRulesModel(QtCore.QAbstractItemModel): return None def get_column_string(self, col, rule): + # pylint: disable=too-many-return-statements # Address if col == 0: if rule.dsthost is None: