소스 검색

Checked too-many-returns error

Checked both places with a 'too-many-return-statements' warning, both
were sensible, marked them as such.
Marta Marczykowska-Górecka 6 년 전
부모
커밋
3d841cf14f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      qubesmanager/firewall.py

+ 1 - 0
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: