Merge remote-tracking branch 'qubesos/pr/191'

* qubesos/pr/191:
  qubes/tests: fix QubesTestCase.qrexec_policy
This commit is contained in:
Marek Marczykowski-Górecki 2018-02-13 05:20:39 +01:00
commit 5afd5fb04f
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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):