casting to int can raise both TypeError or ValueError depending on the type of
the provided value, so it's better to catch both for consistency. Thx Kazuhiko ! git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18829 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment