Merge remote-tracking branch 'qubesos/pr/191'
* qubesos/pr/191: qubes/tests: fix QubesTestCase.qrexec_policy
This commit is contained in:
commit
5afd5fb04f
@ -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