[Checkins] SVN: zope.security/trunk/ Fixed directlyProvides IVocabularyFactory for PermissionIdsVocabulary in

Vincent Fretin vincent.fretin at gmail.com
Sat Jan 2 13:18:31 EST 2010


Log message for revision 107562:
  Fixed directlyProvides IVocabularyFactory for PermissionIdsVocabulary in
  Python code, even if it's unnecessary because IVocabularyFactory is provided
  in zcml.
  

Changed:
  U   zope.security/trunk/CHANGES.txt
  U   zope.security/trunk/src/zope/security/permission.py

-=-
Modified: zope.security/trunk/CHANGES.txt
===================================================================
--- zope.security/trunk/CHANGES.txt	2010-01-02 18:08:17 UTC (rev 107561)
+++ zope.security/trunk/CHANGES.txt	2010-01-02 18:18:31 UTC (rev 107562)
@@ -2,6 +2,13 @@
 CHANGES
 =======
 
+3.7.3 (unreleased)
+------------------
+
+- Fixed directlyProvides IVocabularyFactory for PermissionIdsVocabulary in
+  Python code, even if it's unnecessary because IVocabularyFactory is provided
+  in zcml.
+
 3.7.2 (2009-11-10)
 ------------------
 

Modified: zope.security/trunk/src/zope/security/permission.py
===================================================================
--- zope.security/trunk/src/zope/security/permission.py	2010-01-02 18:08:17 UTC (rev 107561)
+++ zope.security/trunk/src/zope/security/permission.py	2010-01-02 18:18:31 UTC (rev 107562)
@@ -179,4 +179,4 @@
                (lhs.token == 'zope.Public' and -1) or cmp(lhs.title, rhs.title))
     return SimpleVocabulary(terms)
 
-directlyProvides(PermissionsVocabulary, IVocabularyFactory)
+directlyProvides(PermissionIdsVocabulary, IVocabularyFactory)



More information about the checkins mailing list