#26 update flask-admin imports so that warnings aren't always being sent
Closed: Fixed None Opened 9 years ago by tflink.

With the last update, epel6 got a new version of python-flask-admin which has different imports than older versions. Thus, at every sync, there is a warning which gets sent out as a cron email:

usr/lib/python2.6/site-packages/flask_admin/contrib/sqlamodel/__init__.py:3: UserWarning: Flask-Admin sqlalchemy integration module was renamed as flask.ext.admin.contrib.sqla, please use it instead.
  warnings.warn('Flask-Admin sqlalchemy integration module was renamed as flask.ext.admin.contrib.sqla, please use it instead.')

Fix the imports so that sync operations aren't sending out so much email


This ticket had assigned some Differential requests:
D242

Closed by commit rBLKR6cfb2f43a4fc.

Login to comment on this ticket.

Metadata