Author: hannosch
Date: Wed Jun 27 23:10:33 2007
New Revision: 44570

Modified:
   kukit/kss.core/trunk/kss/core/kssview.py
Log:
I should have slept this week or I would probably have seen that stupid bug 
before... we need self.utilities even if we have five.lsm


Modified: kukit/kss.core/trunk/kss/core/kssview.py
==============================================================================
--- kukit/kss.core/trunk/kss/core/kssview.py    (original)
+++ kukit/kss.core/trunk/kss/core/kssview.py    Wed Jun 27 23:10:33 2007
@@ -61,12 +61,11 @@
         # regular AdapterRegistry because it wants to do funny things
         # with __bases__.
         self.adapters = VerifyingAdapterRegistry()
-        # if HAS_FIVE_LSM:
-        #     self.utilities.LookupClass = registry.FiveVerifyingAdapterLookup
-        #     self.utilities._createLookup()
-        #     self.utilities.__parent__ = self
-        # else:
         self.utilities = VerifyingAdapterRegistry()
+        if HAS_FIVE_LSM:
+            self.utilities.LookupClass = registry.FiveVerifyingAdapterLookup
+            self.utilities._createLookup()
+            self.utilities.__parent__ = self
 
     if HAS_FIVE_LSM:
         def registeredUtilities(self):
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to