Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Rename DelDomain to RemoveDomain
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkin committed Sep 27, 2016
1 parent 6ca6da0 commit 74a3482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qubesdbus/domain_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def DomainRemoved(self, _, object_path):

@dbus.service.method(dbus_interface='org.qubes.DomainManager1',
in_signature='ob', out_signature='b')
def DelDomain(self, vm_dbus_path, execute=False):
def RemoveDomain(self, vm_dbus_path, execute=False):
# type: (dbus.ObjectPath, bool) -> bool
if execute:
log.error('Creating domains via DBus is not implemented yet')
Expand Down
2 changes: 1 addition & 1 deletion qubesdbus/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def forward_app_event(self, vm, event, *args, **kwargs):
qubesdbus.serialize.serialize_val(args[1]))
log.info('App: %s %s %s %s', vm, event, args, kwargs)
elif event == 'domain-delete':
func = proxy.get_dbus_method('DelDomain',
func = proxy.get_dbus_method('RemoveDomain',
'org.qubes.DomainManager1')
vm = args[0]
vm_dbus_path = '/org/qubes/DomainManager1/domains/%s' % vm.qid
Expand Down

0 comments on commit 74a3482

Please sign in to comment.