Commit 667a51f7 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Exception classes must be within a tuple.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14214 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent edc0743c
......@@ -241,7 +241,7 @@ class XMLMatrix(Folder):
# then we do not need to
# work on it
object_id_list += [object_id]
except ValueError, KeyError:
except (ValueError, KeyError):
pass
for object_id in object_id_list:
......
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