From: Ant Zucaro Date: Sun, 6 Dec 2020 01:59:35 +0000 (-0500) Subject: Get rid of sqlahelper. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4e39c69161481f40e375316c3ed9aef03b3f27c8;p=xonotic%2Fxonstat.git Get rid of sqlahelper. --- diff --git a/requirements.txt b/requirements.txt index 2f98344..31ac192 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,6 @@ pyramid pyramid_beaker pyramid_mako repoze.tm2 -sqlahelper SQLAlchemy transaction waitress diff --git a/xonstat/__init__.py b/xonstat/__init__.py index 8646c02..d1a264d 100644 --- a/xonstat/__init__.py +++ b/xonstat/__init__.py @@ -15,7 +15,6 @@ def main(global_config, **settings): """ # setup the database engine engine = engine_from_config(settings, 'sqlalchemy.', pool_size=5) - sqlahelper.add_engine(engine) # initialize database structures initialize_db(engine)