mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Remove unnecessary console.debug's
This commit is contained in:
parent
7acf095463
commit
f5b6583dbf
@ -211,7 +211,6 @@ class TasksManager:
|
|||||||
time.sleep(8)
|
time.sleep(8)
|
||||||
|
|
||||||
def log_watcher(self):
|
def log_watcher(self):
|
||||||
console.debug('in log_watcher')
|
|
||||||
helper.check_for_old_logs(db_helper)
|
helper.check_for_old_logs(db_helper)
|
||||||
schedule.every(6).hours.do(lambda: helper.check_for_old_logs(db_helper)).tag('log-mgmt')
|
schedule.every(6).hours.do(lambda: helper.check_for_old_logs(db_helper)).tag('log-mgmt')
|
||||||
|
|
||||||
|
@ -107,8 +107,6 @@ class ServerHandler(BaseHandler):
|
|||||||
name_counter += 1
|
name_counter += 1
|
||||||
new_server_name = server_data.get('server_name') + " (Copy {})".format(name_counter)
|
new_server_name = server_data.get('server_name') + " (Copy {})".format(name_counter)
|
||||||
|
|
||||||
console.debug('new_server_name: "{}"'.format(new_server_name))
|
|
||||||
|
|
||||||
new_server_uuid = helper.create_uuid()
|
new_server_uuid = helper.create_uuid()
|
||||||
while os.path.exists(os.path.join(helper.servers_dir, new_server_uuid)):
|
while os.path.exists(os.path.join(helper.servers_dir, new_server_uuid)):
|
||||||
new_server_uuid = helper.create_uuid()
|
new_server_uuid = helper.create_uuid()
|
||||||
@ -145,7 +143,6 @@ class ServerHandler(BaseHandler):
|
|||||||
}).execute()
|
}).execute()
|
||||||
|
|
||||||
self.controller.init_all_servers()
|
self.controller.init_all_servers()
|
||||||
console.debug('initted all servers')
|
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user