[Checkins] SVN: grok/branches/jw-philipp-using-ndir-directives/src/grok/admin/view.py Cannot get to the module context anymore like this.

Jan-Wijbrand Kolman janwijbrand at gmail.com
Sun May 4 04:56:31 EDT 2008


Log message for revision 86318:
  Cannot get to the module context anymore like this.

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

-=-
Modified: grok/branches/jw-philipp-using-ndir-directives/src/grok/admin/view.py
===================================================================
--- grok/branches/jw-philipp-using-ndir-directives/src/grok/admin/view.py	2008-05-04 02:56:03 UTC (rev 86317)
+++ grok/branches/jw-philipp-using-ndir-directives/src/grok/admin/view.py	2008-05-04 08:56:30 UTC (rev 86318)
@@ -143,7 +143,7 @@
         obj = self.context
         result = ""
         while obj is not None:
-            if __grok_context__.providedBy(obj):
+            if IRootFolder.providedBy(obj):
                 return self.url(obj, name)
             obj = obj.__parent__
         raise ValueError("No application nor root element found.")



More information about the Checkins mailing list