summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author秋葉 <ambiguous404@gmail.com>2019-05-30 18:13:03 +0800
committerSelwin Ong <selwin.ong@gmail.com>2019-05-30 17:13:03 +0700
commite40fc393b26f3035525d71ba2344a3b610570301 (patch)
tree4e7a3c206023f78c8d61e722a1d0baae0254c797
parent98fa81873bdb7d4f32844e03d11213cd35a090f0 (diff)
downloadrq-e40fc393b26f3035525d71ba2344a3b610570301.tar.gz
remove unused code (#1092)
-rw-r--r--rq/worker.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/rq/worker.py b/rq/worker.py
index 0ae0edd..b5b141b 100644
--- a/rq/worker.py
+++ b/rq/worker.py
@@ -647,7 +647,6 @@ class Worker(object):
'(work-horse terminated unexpectedly; waitpid returned {})'
).format(ret_val))
- exc_string = "Work-horse process was terminated unexpectedly " + "(waitpid returned %s)" % ret_val
self.handle_job_failure(
job,
exc_string="Work-horse process was terminated unexpectedly "