[Zope3-checkins] CVS: Zope3/src/zope/app/basicskin -
standardmacros.py:1.3
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Mar 23 17:09:06 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/basicskin
In directory cvs.zope.org:/tmp/cvs-serv23219/src/zope/app/basicskin
Modified Files:
standardmacros.py
Log Message:
Implement aliases for macros.
=== Zope3/src/zope/app/basicskin/standardmacros.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/basicskin/standardmacros.py:1.2 Fri Mar 19 15:26:22 2004
+++ Zope3/src/zope/app/basicskin/standardmacros.py Tue Mar 23 17:08:28 2004
@@ -28,7 +28,10 @@
macro_pages = ()
+ aliases = {}
+
def __getitem__(self, key):
+ key = self.aliases.get(key, key)
context = self.context
request = self.request
for name in self.macro_pages:
More information about the Zope3-Checkins
mailing list