From 9728ae5dee0bde2c6db2c24ded55e8a6d9884273 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Sun, 14 Dec 2008 12:02:09 +0000 Subject: [PATCH] cleanup: exceptions should derive from Exception Reviewed-by: amishchenko --- lib/jqueue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jqueue.py b/lib/jqueue.py index 2c2a5fab2..38b13b73b 100644 --- a/lib/jqueue.py +++ b/lib/jqueue.py @@ -51,7 +51,7 @@ from ganeti import rpc JOBQUEUE_THREADS = 25 -class CancelJob: +class CancelJob(Exception): """Special exception to cancel a job. """ -- GitLab