[Zope] adding instance of Local File Sysem programattically

Dennis Allison allison@sumeru.stanford.EDU
Tue, 10 Jun 2003 21:30:19 -0700 (PDT)


I'm doing something wrong, but I just don't seed it.

from a python script

container.manage_addProduct['Local File System'].addLocalFS( someid,
sometitle, somebasepath)

fails with a key error on 'Local File System'.  However, if one builds a
LFS from the ZMI and looks at the meta type, that's what is returned.

I'm sure it's somthing simple.  BTW, I am using version 1.0.