Revert "release qubes.xml lock on object destroy"
This reverts commit 39e056b74acca3854c5707d8f2cbcd199b8cac75. This change rely on reverted python-locking use.
This commit is contained in:
parent
5fb1991ad5
commit
a5a2c0b97c
@ -291,10 +291,6 @@ class QubesVmCollection(dict):
|
|||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<{} {!r}>'.format(self.__class__.__name__, list(sorted(self.keys())))
|
return '<{} {!r}>'.format(self.__class__.__name__, list(sorted(self.keys())))
|
||||||
|
|
||||||
def __del__(self):
|
|
||||||
if self.qubes_store_file_lock.i_am_locking():
|
|
||||||
self.qubes_store_file_lock.release()
|
|
||||||
|
|
||||||
def values(self):
|
def values(self):
|
||||||
for qid in self.keys():
|
for qid in self.keys():
|
||||||
yield self[qid]
|
yield self[qid]
|
||||||
|
Loading…
Reference in New Issue
Block a user