Skip to content

Commit

Permalink
Fixed LookupError and BufferError not being binded
Browse files Browse the repository at this point in the history
  • Loading branch information
igo95862 committed Jun 13, 2022
1 parent 366cb7d commit c260edc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sdbus/dbus_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,16 @@ class DbusInteractiveAuthorizationRequiredError(DbusFailedError):
"org.python.Error.AssertionError")
map_exception_to_dbus_error(AttributeError,
"org.python.Error.AttributeError")
map_exception_to_dbus_error(BufferError,
"org.python.Error.BufferError")
map_exception_to_dbus_error(EOFError,
"org.python.Error.EOFError")
map_exception_to_dbus_error(ImportError,
"org.python.Error.ImportError")
map_exception_to_dbus_error(ModuleNotFoundError,
"org.python.Error.ModuleNotFoundError")
map_exception_to_dbus_error(LookupError,
"org.python.Error.LookupError")
map_exception_to_dbus_error(IndexError,
"org.python.Error.IndexError")
map_exception_to_dbus_error(KeyError,
Expand Down

0 comments on commit c260edc

Please sign in to comment.