[Checkins] SVN: grok/branches/grokcore.xxx/src/grok/components.py
Remove more redundancy. This is already defined in
grokcore.view.View.
Philipp von Weitershausen
philikon at philikon.de
Sat Jul 19 22:29:40 EDT 2008
Log message for revision 88633:
Remove more redundancy. This is already defined in grokcore.view.View.
Changed:
U grok/branches/grokcore.xxx/src/grok/components.py
-=-
Modified: grok/branches/grokcore.xxx/src/grok/components.py
===================================================================
--- grok/branches/grokcore.xxx/src/grok/components.py 2008-07-20 02:26:55 UTC (rev 88632)
+++ grok/branches/grokcore.xxx/src/grok/components.py 2008-07-20 02:29:40 UTC (rev 88633)
@@ -139,14 +139,6 @@
class View(grokcore.view.View):
interface.implements(interfaces.IGrokView)
- def default_namespace(self):
- namespace = {}
- namespace['context'] = self.context
- namespace['request'] = self.request
- namespace['static'] = self.static
- namespace['view'] = self
- return namespace
-
def __getitem__(self, key):
# This is BBB code for Zope page templates only:
if not isinstance(self.template, PageTemplate):
More information about the Checkins
mailing list