Checked too-many-returns error
Checked both places with a 'too-many-return-statements' warning, both were sensible, marked them as such.
Этот коммит содержится в:
родитель
6670f59853
Коммит
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:
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user