Skip to content

Commit

Permalink
Merge pull request #4 from NAL-i5K/multiple_log_fix
Browse files Browse the repository at this point in the history
multiple log fix
  • Loading branch information
childers authored Jan 4, 2017
2 parents a69e4f6 + 5c67d1b commit 3d18311
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion clustal/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def remove_files():
if path.exists(task_path):
rmtree(task_path)
logger.info('removed directory %s' % (task_path))

'''
@task_sent.connect
def task_sent_handler(sender=None, task_id=None, task=None, args=None,
kwargs=None, **kwds):
Expand Down Expand Up @@ -126,3 +126,4 @@ def task_failure_handler(sender=None, task_id=None, exception=None,
if settings.USE_CACHE:
logger.info('[task_failure] task failed. rabbit task_id: %s' % (task_id) )
task_success_handler(sender, task_id)
'''
3 changes: 2 additions & 1 deletion hmmer/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def remove_files():
if path.exists(task_path):
rmtree(task_path)
logger.info('removed directory %s' % (task_path))

'''
@task_sent.connect
def task_sent_handler(sender=None, task_id=None, task=None, args=None,
kwargs=None, **kwds):
Expand Down Expand Up @@ -144,3 +144,4 @@ def task_failure_handler(sender=None, task_id=None, exception=None,
if settings.USE_CACHE:
logger.info('[task_failure] task failed. rabbit task_id: %s' % (task_id) )
task_success_handler(sender, task_id)
'''

0 comments on commit 3d18311

Please sign in to comment.