Checked too-many-returns error

Checked both places with a 'too-many-return-statements' warning, both
were sensible, marked them as such.
This commit is contained in:
Marta Marczykowska-Górecka 2017-11-09 17:19:17 +01:00
parent 6670f59853
commit 3d841cf14f
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -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: