Author: jmorliaguet
Date: Tue Jun 20 20:09:33 2006
New Revision: 3473

Modified:
   
cpsskins/branches/paris-sprint-2006/configuration/negotiation/metaconfigure.py

Log:

- fix



Modified: 
cpsskins/branches/paris-sprint-2006/configuration/negotiation/metaconfigure.py
==============================================================================
--- 
cpsskins/branches/paris-sprint-2006/configuration/negotiation/metaconfigure.py  
    (original)
+++ 
cpsskins/branches/paris-sprint-2006/configuration/negotiation/metaconfigure.py  
    Tue Jun 20 20:09:33 2006
@@ -70,7 +70,7 @@
         raise ConfigurationError(
             "A negotiation scheme must implement INegotiationScheme.")
 
-    if name not in registered_schemes:
+    if class_ not in registered_schemes:
         # register the negotition scheme
         adapts = (None, IThemeManagementFolder, IBrowserRequest)
 
@@ -78,4 +78,4 @@
         adapter(_context=_context, factory=(class_,), provides=interface,
                 for_=adapts, name=name)
 
-        registered_schemes.append(name)
+        registered_schemes.append(class_)
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to