home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 1.5)
-
- ObjectsStore = { }
- StoreIndex = 0
-
- def GetNewId():
- global StoreIndex, StoreIndex
- StoreIndex = StoreIndex + 1
- key = str(StoreIndex)
- while ObjectsStore.has_key(key):
- StoreIndex = StoreIndex + 1
- key = str(StoreIndex)
- return key
-
-
- def CheckStore():
- for i in ObjectsStore.keys():
-
- try:
- obj = ObjectsStore[i]
- ret = obj.persistent_check()
- if not ret:
- del ObjectsStore[i]
- except AttributeError:
- 0
- 0
- ObjectsStore.keys()
- except TypeError:
- ObjectsStore.keys()
- ObjectsStore.keys()
- except:
- 0
-
-
-
-