From fb85bde414dce3aa6c6c072d4b9976a626e5e42c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Wisniewski?= <gregory@nexedi.com> Date: Wed, 13 Jan 2010 10:39:53 +0000 Subject: [PATCH] Master verification handler now inherit from BaseServiceHandler. The only purpose of BaseServiceHandler is to handler broken/timeout/... events, and this behaviour is required during verification stage to raise VerificationFailure exception when a storage node required is lost. This was found by failing unit tests. git-svn-id: https://svn.erp5.org/repos/neo/trunk@1419 71dcc9de-d417-0410-9af5-da40c76e7ee4 --- neo/master/handlers/verification.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neo/master/handlers/verification.py b/neo/master/handlers/verification.py index 67e1868d..96124b58 100644 --- a/neo/master/handlers/verification.py +++ b/neo/master/handlers/verification.py @@ -17,11 +17,11 @@ from neo import logging -from neo.master.handlers import MasterHandler +from neo.master.handlers import BaseServiceHandler from neo.exception import VerificationFailure from neo.util import dump -class VerificationHandler(MasterHandler): +class VerificationHandler(BaseServiceHandler): """This class deals with events for a verification phase.""" def connectionCompleted(self, conn): -- 2.30.9