Remove use of deprecated ListMatch
This class was broken with pyphosphor aea38c65. Drop use of the
class altogether and just use a lambda.
Change-Id: I6f36487c1d6fe2003aa007c2a174fe97abf0267a
Tested: Enumerated HTTP root and verified content
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/module/obmc/wsgi/apps/rest_dbus.py b/module/obmc/wsgi/apps/rest_dbus.py
index b1e2dcf..6f800e9 100644
--- a/module/obmc/wsgi/apps/rest_dbus.py
+++ b/module/obmc/wsgi/apps/rest_dbus.py
@@ -422,7 +422,7 @@
data = iface.Introspect()
parser = IntrospectionNodeParser(
ElementTree.fromstring(data),
- intf_match=obmc.utils.misc.ListMatch(interfaces))
+ intf_match=lambda x: x in interfaces)
for x, y in parser.get_interfaces().items():
m = self.find_method_in_interface(
method, obj, x, y.get('method'))