# HG changeset patch # User Mads Kiilerich # Date 2018-12-23 21:16:07 # Node ID e5406853e12c8893f66ba93acedc522e502d556a # Parent b5419cd0ac407d0bea08e34b218ece9ff3820be2 gearbox: drop last traces of upgrade-db paster command Everything has changed anyway. diff --git a/kallithea/lib/dbmigrate/__init__.py b/kallithea/lib/dbmigrate/__init__.py deleted file mode 100644 --- a/kallithea/lib/dbmigrate/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -from gearbox.command import Command - - -class UpgradeDb(Command): - '''(removed)''' - - deprecated = True - - def run(self, args): - raise SystemExit( - 'The "paster upgrade-db" command has been removed; please see the docs:\n' - ' https://docs.kallithea-scm.org/en/default/upgrade.html' - ) diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -157,8 +157,5 @@ setuptools.setup( [paste.app_factory] main = kallithea.config.middleware:make_app - - [gearbox.commands] - upgrade-db=kallithea.lib.dbmigrate:UpgradeDb """, )