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:
parent
6670f59853
commit
3d841cf14f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user