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

py3: StandardError does not exist.

parent 9cc506b4
......@@ -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.component.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