mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-04-06 18:50:38 +02:00
tests/dbusmock/polkitd: Remove unwanted method, from a fprintd copy-paste
This commit is contained in:
parent
d53eaa7d89
commit
084e5bfafd
1 changed files with 0 additions and 10 deletions
|
|
@ -99,13 +99,3 @@ def SetAllowed(self, actions):
|
|||
'''Set allowed actions'''
|
||||
|
||||
self.allowed = actions
|
||||
|
||||
@dbus.service.method(MAIN_IFACE,
|
||||
in_signature='', out_signature='o')
|
||||
def GetDefaultDevice(self):
|
||||
devices = self.GetDevices()
|
||||
if len(devices) < 1:
|
||||
raise dbus.exceptions.DBusException(
|
||||
'No devices available',
|
||||
name='net.reactivated.Fprint.Error.NoSuchDevice')
|
||||
return devices[0]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue