Commit f1f63a3c authored by Ken Manheimer's avatar Ken Manheimer

.uncatalogObject(): Raise exception on attempt to uncatalog id not in catalog.

parent 488af9b2
......@@ -368,7 +368,7 @@ class Catalog(Persistent, Acquisition.Implicit):
"""
if uid not in self.uids.keys():
return
raise ValueError, "Uncatalog of absent id %s" % `uid`
rid = self.uids[uid]
......
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