changeset 6206:a9b9af11699e

lib: drop unused __dbversion__
author Mads Kiilerich <madski@unity3d.com>
date Mon, 12 Sep 2016 17:41:19 +0200
parents 12bc5b6057a7
children 46db3368c2ae
files kallithea/__init__.py kallithea/lib/db_manage.py
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/__init__.py	Mon Sep 12 17:41:19 2016 +0200
+++ b/kallithea/__init__.py	Mon Sep 12 17:41:19 2016 +0200
@@ -53,7 +53,6 @@
 
 
 __version__ = '.'.join(str(each) for each in VERSION)
-__dbversion__ = 31  # defines current db version for migrations
 __platform__ = platform.system()
 __license__ = 'GPLv3'
 __py_version__ = sys.version_info
--- a/kallithea/lib/db_manage.py	Mon Sep 12 17:41:19 2016 +0200
+++ b/kallithea/lib/db_manage.py	Mon Sep 12 17:41:19 2016 +0200
@@ -36,7 +36,7 @@
 import alembic.config
 import alembic.command
 
-from kallithea import __dbversion__, __py_version__
+from kallithea import __py_version__
 from kallithea.lib.paster_commands.common import ask_ok
 from kallithea.model.user import UserModel
 from kallithea.model import init_model