##// END OF EJS Templates
configs: fixed IP extraction in gunicorn
configs: fixed IP extraction in gunicorn

File last commit:

r4343:2ba995a1 default
r4829:e4b422d5 default
Show More
__init__.py
31 lines | 889 B | text/x-python | PythonLexer
project: added all source files and assets
r1 """
This module extends SQLAlchemy and provides additional DDL [#]_
support.
.. [#] SQL Data Definition Language
"""
import re
import warnings
import sqlalchemy
from sqlalchemy import __version__ as _sa_version
warnings.simplefilter('always', DeprecationWarning)
db-migrate: backport some changes for py3 compat.
r4343 _sa_version = tuple(int(re.match("\d+", x).group(0)) for x in _sa_version.split("."))
project: added all source files and assets
r1 SQLA_07 = _sa_version >= (0, 7)
SQLA_08 = _sa_version >= (0, 8)
db-migrate: backport some changes for py3 compat.
r4343 SQLA_09 = _sa_version >= (0, 9)
SQLA_10 = _sa_version >= (1, 0)
project: added all source files and assets
r1
del re
del _sa_version
from rhodecode.lib.dbmigrate.migrate.changeset.schema import *
from rhodecode.lib.dbmigrate.migrate.changeset.constraint import *
db-migrate: backport some changes for py3 compat.
r4343 sqlalchemy.schema.Table.__bases__ += (ChangesetTable, )
sqlalchemy.schema.Column.__bases__ += (ChangesetColumn, )
sqlalchemy.schema.Index.__bases__ += (ChangesetIndex, )
project: added all source files and assets
r1
db-migrate: backport some changes for py3 compat.
r4343 sqlalchemy.schema.DefaultClause.__bases__ += (ChangesetDefaultClause, )