qubes/mgmt: use keyword arguments in events

QubesOS/qubes-issues#853
This commit is contained in:
Marek Marczykowski-Górecki 2017-02-27 20:56:16 +01:00
parent 751415434c
commit c454973596
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -112,7 +112,7 @@ class QubesMgmt(object):
@not_in_api
def fire_event_for_permission(self, **kwargs):
return self.src.fire_event_pre('mgmt-permission:{}'.format(self.method),
self.dest, self.arg, **kwargs)
dest=self.dest, arg=self.arg, **kwargs)
@not_in_api
def fire_event_for_filter(self, iterable, **kwargs):