Commit 83aaec21 authored by Alexandre Boeglin's avatar Alexandre Boeglin

name possible exceptions.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14772 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69dbf1fc
......@@ -1387,7 +1387,7 @@ def setDefaultProperties(property_holder, object=None):
try:
import Products.iHotfix
get_request = Products.iHotfix.get_request
except:
except (ImportError, AttributeError):
import Products.Localizer
get_request = Products.Localizer.get_request
......
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