Commit ad8a5dac authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

py3: StandardError does not exist.

parent 24b1ed67
......@@ -35,6 +35,8 @@ from Products.ZMySQLDA.DA import Connection as ZMySQLDA_Connection
from zope.globalrequest import getRequest
from zope.globalrequest import setRequest
import six
if six.PY3:
StandardError = Exception
from zope.site.hooks import setSite
......
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