Changeset - 5d7c1f73a5b8
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 7 years ago 2018-12-04 21:27:35
thomas.de_schampheleire@nokia.com
lib: remove unused method 'notify' from DbManage

This method is no longer used.
Last usage was removed in 46db3368c2ae and previously c7ef77ab2f95.
1 file changed with 0 insertions and 8 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/db_manage.py
Show inline comments
 
@@ -51,20 +51,12 @@ from kallithea.model.repo import RepoMod
 
from kallithea.model.permission import PermissionModel
 

	
 

	
 
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]
 
        self.tests = tests
 
        self.root = root
 
        self.dburi = dbconf
0 comments (0 inline, 0 general)