rest_dbus.py: Fix UnknownInterface error

The string "org.freedesktop.UnknownInterface" is not an
existing dbus error string, all errors are of format
*.DBus.Error.* so remove it.

Also check the dbus name instead of message for this error.
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",

Change-Id: Ib54adef852713bc30f3eefc6598e28fcf5be3d29
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed
tree: 3c22e9385cff951787a029f140dfd75e06d04659
  1. module/
  2. servers/
  3. LICENSE