From e40fc393b26f3035525d71ba2344a3b610570301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E8=91=89?= Date: Thu, 30 May 2019 18:13:03 +0800 Subject: [PATCH] remove unused code (#1092) --- rq/worker.py | 1 - 1 file changed, 1 deletion(-) 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 "