Re: [Zope] LocalFS question

2000-12-12 Thread Andy McKay
- From: "Leichtman, David J" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 11, 2000 2:54 PM Subject: [Zope] LocalFS question How do you access an individual object in a LocalFS? By that, I mean: If I wanted the last_mod time of any Zope object, I could sa

Re: [Zope] LocalFS question

2000-12-12 Thread Aleksander Salwa
On Mon, 11 Dec 2000, Leichtman, David J wrote: How do you access an individual object in a LocalFS? By that, I mean: [...] dtml-var "localfs_object.localfs_subobject.bobobase_modification_time", you get the error NameError: localfs_subobject dtml-var

Re: [Zope] LocalFS question

2000-12-12 Thread Dieter Maurer
Leichtman, David J writes: However, if you try to do the same thing with a LocalFS object, i.e. dtml-var "localfs_object.localfs_subobject.bobobase_modification_time", you get the error NameError: localfs_subobject This leads me to believe that LocalFS subobjects are not really objects.

Re: [Zope] LocalFS question

2000-12-12 Thread Jonothan Farr
At least the "Local File System" object does not expose its children via "getattr" (which is required for the usual "." operator to work) but only via "[...]". This probably is a bug. No this is by design, as explained in the how-to. Most operating systems allow period (.) characters in

[Zope] LocalFS question

2000-12-11 Thread Leichtman, David J
How do you access an individual object in a LocalFS? By that, I mean: If I wanted the last_mod time of any Zope object, I could say dtml-var "object.subobject.bobobase_modification_time". However, if you try to do the same thing with a LocalFS object, i.e. dtml-var