changeset 7443:5d7c1f73a5b8

lib: remove unused method 'notify' from DbManage This method is no longer used. Last usage was removed in 46db3368c2ae and previously c7ef77ab2f95.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Tue, 04 Dec 2018 21:27:35 +0100
parents 1c68258b14bc
children 3e6f0b5815d8
files kallithea/lib/db_manage.py
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/lib/db_manage.py	Sat Dec 01 22:04:58 2018 +0100
+++ b/kallithea/lib/db_manage.py	Tue Dec 04 21:27:35 2018 +0100
@@ -54,14 +54,6 @@
 log = logging.getLogger(__name__)
 
 
-def notify(msg):
-    """
-    Notification for migrations messages
-    """
-    ml = len(msg) + (4 * 2)
-    print('\n%s\n*** %s ***\n%s' % ('*' * ml, msg, '*' * ml)).upper()
-
-
 class DbManage(object):
     def __init__(self, dbconf, root, tests=False, SESSION=None, cli_args=None):
         self.dbname = dbconf.split('/')[-1]