Stop checking for pre-0.7 SQLAlchemy
This commit is contained in:
parent
d3bc1abb57
commit
c82c55942f
|
@ -124,11 +124,6 @@ def register(session, initial_state=datamanager.STATUS_ACTIVE,
|
|||
This function is copied from upstream, and tweaked so that our custom
|
||||
:class:`ZopeTransactionExtension` will be used.
|
||||
"""
|
||||
|
||||
from sqlalchemy import __version__
|
||||
assert tuple(int(x) for x in __version__.split(".")) >= (0, 7), \
|
||||
"SQLAlchemy version 0.7 or greater required to use register()"
|
||||
|
||||
from sqlalchemy import event
|
||||
|
||||
ext = ZopeTransactionExtension(
|
||||
|
|
Loading…
Reference in a new issue