Commit fb85bde4 authored by Grégory Wisniewski's avatar Grégory Wisniewski

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
parent f8fa9162
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment