Commit 9fdbb9e5 authored by Michel Pelletier's avatar Michel Pelletier

syntax

parent 259a8dcb
...@@ -334,9 +334,15 @@ class Catalog(Persistent, Acquisition.Implicit): ...@@ -334,9 +334,15 @@ class Catalog(Persistent, Acquisition.Implicit):
# ZClass problems, some items might not be here. The try's # ZClass problems, some items might not be here. The try's
# catch any inconsistencies and lets 'Update Catalog' sanify # catch any inconsistencies and lets 'Update Catalog' sanify
# the situation # the situation
try: del self.data[rid] except: pass try:
try: del self.uids[uid] except: pass del self.data[rid]
try: del self.paths[rid] except: pass except: pass
try:
del self.uids[uid]
except: pass
try:
del self.paths[rid]
except: pass
def clear(self): def clear(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment