[Checkins] SVN: grok/trunk/src/grok/directive.py 'self' was no explicit argument in the factory method and thus became

Jan-Wijbrand Kolman janwijbrand at gmail.com
Wed Oct 29 12:16:05 EDT 2008


Log message for revision 92672:
  'self' was no explicit argument in the factory method and thus became
  one of the "permissions" registered for the role.

Changed:
  U   grok/trunk/src/grok/directive.py

-=-
Modified: grok/trunk/src/grok/directive.py
===================================================================
--- grok/trunk/src/grok/directive.py	2008-10-29 15:29:18 UTC (rev 92671)
+++ grok/trunk/src/grok/directive.py	2008-10-29 16:16:04 UTC (rev 92672)
@@ -107,7 +107,7 @@
     store = martian.ONCE
     default = []
 
-    def factory(*args):
+    def factory(self, *args):
         return args
 
 class OneInterfaceOrClassOnClassOrModule(martian.Directive):



More information about the Checkins mailing list