3
0
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:
Denis Kenzior 2019-10-24 10:54:45 -05:00
parent 206bfbdf3a
commit 2521830d3e

View File

@ -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
@ -70,7 +70,7 @@ _dbus_ex_to_py = {
'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,
@ -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