Variables defined outside init

Defined them inside init and added description.
This commit is contained in:
Marta Marczykowska-Górecka 2017-11-09 16:54:46 +01:00
parent ff4ee713b1
commit 0115c931d2
No known key found for this signature in database
GPG Key ID: 9A752C30B26FD04B

View File

@ -156,6 +156,10 @@ class QubesFirewallRulesModel(QtCore.QAbstractItemModel):
file.close()
self.fw_changed = False
self.allow = None # is the default policy allow or deny
self.temp_full_access_expire_time = None # temporary full access time
self.__vm = None # VM that the model applies to
self.__children = None # list of rules in the FW
def sort(self, idx, order):
from operator import attrgetter