mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-04 11:42:33 +01:00
auto-t: Update to use InvalidArguments error
This commit is contained in:
parent
206bfbdf3a
commit
2521830d3e
@ -48,7 +48,7 @@ class InProgressEx(dbus.DBusException): pass
|
|||||||
class FailedEx(dbus.DBusException): pass
|
class FailedEx(dbus.DBusException): pass
|
||||||
class AbortedEx(dbus.DBusException): pass
|
class AbortedEx(dbus.DBusException): pass
|
||||||
class NotAvailableEx(dbus.DBusException): pass
|
class NotAvailableEx(dbus.DBusException): pass
|
||||||
class InvalidArgsEx(dbus.DBusException): pass
|
class InvalidArgumentsEx(dbus.DBusException): pass
|
||||||
class InvalidFormatEx(dbus.DBusException): pass
|
class InvalidFormatEx(dbus.DBusException): pass
|
||||||
class AlreadyExistsEx(dbus.DBusException): pass
|
class AlreadyExistsEx(dbus.DBusException): pass
|
||||||
class NotFoundEx(dbus.DBusException): pass
|
class NotFoundEx(dbus.DBusException): pass
|
||||||
@ -65,23 +65,23 @@ class CanceledEx(dbus.DBusException):
|
|||||||
|
|
||||||
|
|
||||||
_dbus_ex_to_py = {
|
_dbus_ex_to_py = {
|
||||||
'Canceled' : CanceledEx,
|
'Canceled' : CanceledEx,
|
||||||
'InProgress' : InProgressEx,
|
'InProgress' : InProgressEx,
|
||||||
'Failed' : FailedEx,
|
'Failed' : FailedEx,
|
||||||
'Aborted' : AbortedEx,
|
'Aborted' : AbortedEx,
|
||||||
'NotAvailable' : NotAvailableEx,
|
'NotAvailable' : NotAvailableEx,
|
||||||
'InvalidArgs' : InvalidArgsEx,
|
'InvalidArguments' : InvalidArgumentsEx,
|
||||||
'InvalidFormat' : InvalidFormatEx,
|
'InvalidFormat' : InvalidFormatEx,
|
||||||
'AlreadyExists' : AlreadyExistsEx,
|
'AlreadyExists' : AlreadyExistsEx,
|
||||||
'NotFound' : NotFoundEx,
|
'NotFound' : NotFoundEx,
|
||||||
'NotSupported' : NotSupportedEx,
|
'NotSupported' : NotSupportedEx,
|
||||||
'NoAgent' : NoAgentEx,
|
'NoAgent' : NoAgentEx,
|
||||||
'NotConnected' : NotConnectedEx,
|
'NotConnected' : NotConnectedEx,
|
||||||
'NotConfigured' : NotConfiguredEx,
|
'NotConfigured' : NotConfiguredEx,
|
||||||
'NotImplemented' : NotImplementedEx,
|
'NotImplemented' : NotImplementedEx,
|
||||||
'ServiceSetOverlap' : ServiceSetOverlapEx,
|
'ServiceSetOverlap' : ServiceSetOverlapEx,
|
||||||
'AlreadyProvisioned' : AlreadyProvisionedEx,
|
'AlreadyProvisioned' : AlreadyProvisionedEx,
|
||||||
'NotHidden' : NotHiddenEx,
|
'NotHidden' : NotHiddenEx,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -445,7 +445,7 @@ class Device(IWDDBusAbstract):
|
|||||||
'''Connect to a hidden network
|
'''Connect to a hidden network
|
||||||
Possible exception: BusyEx
|
Possible exception: BusyEx
|
||||||
FailedEx
|
FailedEx
|
||||||
InvalidArgsEx
|
InvalidArgumentsEx
|
||||||
NotConfiguredEx
|
NotConfiguredEx
|
||||||
NotConnectedEx
|
NotConnectedEx
|
||||||
NotFoundEx
|
NotFoundEx
|
||||||
|
Loading…
Reference in New Issue
Block a user