From c1a4780d10546f071991934c071899de8a4437a5 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Tue, 25 Aug 2015 09:12:34 +0200 Subject: [PATCH] Fix PEP8 complaints --- rq/worker.py | 6 +++--- tests/test_cli.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/rq/worker.py b/rq/worker.py index 8176b27..892f871 100644 --- a/rq/worker.py +++ b/rq/worker.py @@ -158,9 +158,9 @@ class Worker(object): if exc_handler is not None: self.push_exc_handler(exc_handler) warnings.warn( - "use of exc_handler is deprecated, pass a list to exception_handlers instead.", - DeprecationWarning - ) + "use of exc_handler is deprecated, pass a list to exception_handlers instead.", + DeprecationWarning + ) elif isinstance(exception_handlers, list): for h in exception_handlers: self.push_exc_handler(h) diff --git a/tests/test_cli.py b/tests/test_cli.py index 1a812ae..7c806b9 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -120,4 +120,3 @@ class TestRQCli(RQTestCase): self.assertEqual(result.exit_code, 1) self.assertIn("Duration must be an integer greater than 1", result.output) -