qubes/tests: fix QubesTestCase.qrexec_policy
The context manager left empty file. fixes QubesOS/qubes-issues#3535
This commit is contained in:
parent
9b5256f002
commit
8083d6dece
@ -299,7 +299,7 @@ class _QrexecPolicyContext(object):
|
||||
def __enter__(self):
|
||||
rules = self.load()
|
||||
rules.insert(0, self._rule)
|
||||
self.save(self._rule)
|
||||
self.save(rules)
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_value, tb):
|
||||
|
Loading…
Reference in New Issue
Block a user