Changeset 3331
- Timestamp:
- Jan 6, 2012, 1:27:29 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/displayXML.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/displayXML.py
r2329 r3331 100 100 101 101 def __init__(self): 102 """init the storage""" 103 self.storage=FileStorage(os.path.join(INSTANCE_HOME,"var/XML_caching.fs")) 104 self.db=DB(self.storage) 105 self.connection=self.db.open() 106 self.root=self.connection.root() 107 102 """init the storage 103 TODO: repair this""" 104 try: 105 #self.storage=FileStorage(os.path.join(INSTANCE_HOME,"var/XML_caching.fs")) 106 self.db=DB(self.storage) 107 self.connection=self.db.open() 108 self.root=self.connection.root() 109 except: 110 pass 111 108 112 def deleteObject(self,name,pn=None): 109 113 """delete an object from cache"""
Note: See TracChangeset
for help on using the changeset viewer.