From 767ebf26b61d3d336ee9bfded8651a3c506ac1ce Mon Sep 17 00:00:00 2001 From: volkansahin Date: Tue, 18 Jul 2017 16:17:04 +0300 Subject: [PATCH] removed redundant logs --- opt/ahenk/base/scheduler/custom/scheduledb.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/opt/ahenk/base/scheduler/custom/scheduledb.py b/opt/ahenk/base/scheduler/custom/scheduledb.py index 0ce3b3f..6402a6e 100644 --- a/opt/ahenk/base/scheduler/custom/scheduledb.py +++ b/opt/ahenk/base/scheduler/custom/scheduledb.py @@ -53,7 +53,6 @@ class ScheduleTaskDB(object): self.logger.debug('Getting task from db.') try: db_task = self.db_service.select('task', criteria='id={0}'.format(task_id))[0] - self.logger.debug('db_task-------->'+str(db_task)) return TaskBean(db_task[0], db_task[1], db_task[2], db_task[3], db_task[4], db_task[5], self.get_plugin_by_id(db_task[6]), db_task[7], db_task[8]) except Exception as e: @@ -62,7 +61,6 @@ class ScheduleTaskDB(object): def get_plugin_by_id(self, plugin_id): self.logger.debug('Getting plugin from db.') db_plugin = self.db_service.select('plugin', criteria='id={0}'.format(plugin_id))[0] - self.logger.debug('db_plugin-------->' + str(db_plugin)) return PluginBean(db_plugin[0], db_plugin[1], db_plugin[2], db_plugin[3], db_plugin[4], db_plugin[5], db_plugin[6], db_plugin[7], db_plugin[8], db_plugin[11], db_plugin[9], db_plugin[10], db_plugin[12])