Index: /trunk/src/libs/xpcom18a4/python/client/__init__.py
===================================================================
--- /trunk/src/libs/xpcom18a4/python/client/__init__.py	(revision 59804)
+++ /trunk/src/libs/xpcom18a4/python/client/__init__.py	(revision 59805)
@@ -328,5 +328,5 @@
     def QueryInterface(self, iid):
         if iid in self._interfaces_:
-            assert iid_name in self._interface_names_, "_interfaces_ has the key, but _interface_names_ does not!"
+            assert iid.name in self._interface_names_, "_interfaces_ has the key, but _interface_names_ does not!"
             return self
         # Haven't seen this before - do a real QI.
