[Checkins] SVN: grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py Correct mistake that I introduced when I replaced the class_annotation helper with a simple getattr.

Philipp von Weitershausen philikon at philikon.de
Sun May 4 06:26:01 EDT 2008


Log message for revision 86326:
  Correct mistake that I introduced when I replaced the class_annotation helper with a simple getattr.

Changed:
  U   grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py

-=-
Modified: grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py
===================================================================
--- grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py	2008-05-04 10:20:55 UTC (rev 86325)
+++ grok/branches/jw-philipp-using-ndir-directives/src/grok/meta.py	2008-05-04 10:26:00 UTC (rev 86326)
@@ -634,7 +634,7 @@
                             "subclass in module %r. "
                             "Use grok.site() to specify." % module_info.getModule(),
                             factory)
-        indexes = getattr(util, '__grok_indexes__', None)
+        indexes = getattr(factory, '__grok_indexes__', None)
         if indexes is None:
             return False
         context = get_context(factory, module_info)



More information about the Checkins mailing list