commit/galaxy-central: smcmanus: Eliminated debug statements (mostly already commented out) under DELETEME tags
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/59cc544ee657/ changeset: 59cc544ee657 user: smcmanus date: 2012-08-02 19:06:43 summary: Eliminated debug statements (mostly already commented out) under DELETEME tags affected #: 4 files diff -r c2ff2d01a23a778c4778e6a466eaf3592486cbee -r 59cc544ee6573507fa9ce2ca69aeb82907870cf2 lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -976,8 +976,6 @@ def set_runner( self, runner_url, external_id ): task = self.get_task() self.sa_session.refresh( task ) - # DELETEME: - #log.debug( "************** Setting task %d runner name to %s" % ( task.get_id(), runner_url ) ) task.task_runner_name = runner_url task.task_runner_external_id = external_id # DBTODO Check task job_runner_stuff diff -r c2ff2d01a23a778c4778e6a466eaf3592486cbee -r 59cc544ee6573507fa9ce2ca69aeb82907870cf2 lib/galaxy/jobs/handler.py --- a/lib/galaxy/jobs/handler.py +++ b/lib/galaxy/jobs/handler.py @@ -392,9 +392,6 @@ runner_name = "tasks" else: runner_name = ( job_wrapper.get_job_runner_url().split(":", 1) )[0] - # DELETEME - #log.debug( "__get_runner_name: runner_name = %s; URL: %s" - # % (runner_name, job_wrapper.get_job_runner_url()) ) return runner_name def put( self, job_wrapper ): @@ -419,8 +416,6 @@ # Note that Jobs and Tasks have runner_names, which are distinct from # the job_runner_name and task_runner_name. - # DELETEME - this next block is for debug only. - log.debug( "DefaultJobDispatcher: Stopping job %d" % job.get_id() ) if ( isinstance( job, model.Job ) ): log.debug( "Stopping job %d:", job.get_id() ) elif( isinstance( job, model.Task ) ): diff -r c2ff2d01a23a778c4778e6a466eaf3592486cbee -r 59cc544ee6573507fa9ce2ca69aeb82907870cf2 lib/galaxy/jobs/runners/local.py --- a/lib/galaxy/jobs/runners/local.py +++ b/lib/galaxy/jobs/runners/local.py @@ -87,9 +87,6 @@ stderr = stderr_file, env = os.environ, preexec_fn = os.setpgrp ) - # DELETEME (debug): - log.debug( "Job %s: PID %d" - % ( job_wrapper.get_id_tag(), proc.pid ) ) job_wrapper.set_runner( 'local:///', proc.pid ) job_wrapper.change_state( model.Job.states.RUNNING ) if self.app.config.output_size_limit > 0: diff -r c2ff2d01a23a778c4778e6a466eaf3592486cbee -r 59cc544ee6573507fa9ce2ca69aeb82907870cf2 lib/galaxy/jobs/runners/tasks.py --- a/lib/galaxy/jobs/runners/tasks.py +++ b/lib/galaxy/jobs/runners/tasks.py @@ -103,9 +103,6 @@ count_complete = 0 tasks_complete = True for tw in task_wrappers: -# # DELETEME - debug -# log.debug( "Checking task wrapper %d; tasks_complete = %s" -# % (tw.task_id, tasks_complete) ) task_state = tw.get_state() if ( model.Task.states.ERROR == task_state ): log.debug( "Canceling job %d: Task %d returned an error" Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket