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

py3: StandardError does not exist.

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