Checked both places with a 'too-many-return-statements' warning, both were sensible, marked them as such.
@@ -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: