Variables defined outside init
Defined them inside init and added description.
This commit is contained in:
parent
ff4ee713b1
commit
0115c931d2
@ -156,6 +156,10 @@ class QubesFirewallRulesModel(QtCore.QAbstractItemModel):
|
|||||||
file.close()
|
file.close()
|
||||||
|
|
||||||
self.fw_changed = False
|
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):
|
def sort(self, idx, order):
|
||||||
from operator import attrgetter
|
from operator import attrgetter
|
||||||
|
Loading…
Reference in New Issue
Block a user