[Checkins] SVN: Products.QueueCatalog/trunk/QueueCatalog.py replaced unsupported validateValue call with validate

Christian Zagrodnick cz at gocept.com
Mon Nov 27 03:26:58 EST 2006


Log message for revision 71311:
  replaced unsupported validateValue call with validate
  
  actually spotted by Andreas Gabriel <gabriel at hrz.uni-marburg.de>
  
  Thanks.
  

Changed:
  U   Products.QueueCatalog/trunk/QueueCatalog.py

-=-
Modified: Products.QueueCatalog/trunk/QueueCatalog.py
===================================================================
--- Products.QueueCatalog/trunk/QueueCatalog.py	2006-11-26 16:47:29 UTC (rev 71310)
+++ Products.QueueCatalog/trunk/QueueCatalog.py	2006-11-27 08:26:56 UTC (rev 71311)
@@ -254,7 +254,7 @@
                     )
 
             security_manager = getSecurityManager()
-            if not security_manager.validateValue(ZC):
+            if not security_manager.validate(self, self, self._location, ZC):
                 raise Unauthorized(self._location, ZC)
 
             ZC = aq_base(ZC).__of__(parent)



More information about the Checkins mailing list