Commits

Anonymous committed 5836b98

import error due to change of sqlalchemy(0.6.0 - 0.7.0) fixed.

  • Participants
  • Parent commits dc5764a

Comments (0)

Files changed (2)

File MoinMoin/storage/backends/fs19.py

 UUID_LEN = len(make_uuid())
 
 from sqlalchemy import create_engine, MetaData, Table, Column, String, Unicode, Integer
-from sqlalchemy.exceptions import IntegrityError
+from sqlalchemy.exc import IntegrityError
 
 from MoinMoin import log
 logging = log.getLogger(__name__)

File MoinMoin/storage/backends/fs2.py

 from flask import current_app as app
 
 from sqlalchemy import create_engine, MetaData, Table, Column, String, Unicode, Integer
-from sqlalchemy.exceptions import IntegrityError
+from sqlalchemy.exc import IntegrityError
 from sqlalchemy.pool import NullPool
 
 from werkzeug import cached_property