Commit f3a8c7be authored by Sebastien Robin's avatar Sebastien Robin

better exception management


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@986 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5fee6a5a
......@@ -29,7 +29,7 @@ def editDocument(self, object=None, **kw):
for o in portal_trees.objectValues():
try:
o.rebuild()
except AttributeError,KeyError:
except (AttributeError,KeyError):
pass
......
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