bindings.py: Use get_dbus_name to check for error

Check the dbus name instead of message for error checking.
The dbus message is the description of the error, like
"Unknown interface 'foo'". The dbus name is the actual
error string, like "org.freedesktop.DBus.Error.UnknownInterface",

Resolves openbmc/openbmc#2463

Change-Id: I8721e7b262dbc8f4ebae9a8e30074bdf6a53b025
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed
tree: 23c1f0bedc146996bce0b1037fa4d65d33d06603
  1. fail-monitor/
  2. libmapper/
  3. obmc/
  4. .gitignore
  5. bootstrap.sh
  6. configure.ac
  7. LICENSE
  8. Makefile.am
  9. phosphor-mapper
  10. README.md
  11. setup.py.in
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.