from ZODB import FileStorage DB s09 FileStorage FileStorage projects e

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
>>> from ZODB import FileStorage, DB
>>> s09 = FileStorage.FileStorage('/projects/eubusiness/data/var/migrated/2009-09-08-14-04-43.fs')
>>> s08 = FileStorage.FileStorage('/projects/eubusiness/data/var/migrated/2009-08-26-15-12-54.fs')
>>> s05 = FileStorage.FileStorage('/projects/eubusiness/data/var/migrated/2009-05-22-02-25.fs')
>>> s05 = FileStorage.FileStorage('/projects/eubusiness/data/var/migrated/2009-05-20-11-10-38.fs')
>>> db09 = DB(s09); db08 = DB(s08); db05 = DB(s05)
>>> c09 = db09.open(); c08 = db08.open(); c05 = db05.open()
>>> root09 = c09.root(); root08 = c08.root(); root05 = c05.root()
>>> root09['Application'].plone.portal_properties.site_properties.getProperty('allowAnonymousViewAbout')
True
>>> root08['Application'].plone.portal_properties.site_properties.getProperty('allowAnonymousViewAbout')
True
>>> root05['Application'].plone.portal_properties.site_properties.getProperty('allowAnonymousViewAbout')
True
>>>