[Zope] sys_platform var

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Fri, 20 Jul 2001 00:15:42 +1000


>>> Christian Tismer wrote
> > I have a need to test this var (sys_platform) that is found in
> > App/dtml/cpContents.dtml but cannot figure out the correct
> > context.
> I didn't test it, but I *guess* this is identical to
> Python's sys.platform variable.

ApplicationManager.py:    def sys_platform(self): return sys.platform

Lucky guess :)

Anthony
-- 
Anthony Baxter     <anthony@interlink.com.au>   
It's never too late to have a happy childhood.