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

Move ConnectionClosed exception to the dedicated python module.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1597 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 4adcc6aa
......@@ -37,7 +37,7 @@ from neo.connection import MTClientConnection
from neo.node import NodeManager
from neo.connector import getConnectorHandler
from neo.client.exception import NEOStorageError, NEOStorageConflictError
from neo.client.exception import NEOStorageNotFoundError
from neo.client.exception import NEOStorageNotFoundError, ConnectionClosed
from neo.exception import NeoException
from neo.client.handlers import storage, master
from neo.dispatcher import Dispatcher
......@@ -47,10 +47,6 @@ from neo.client.mq import MQ
from neo.util import u64, parseMasterList
class ConnectionClosed(Exception):
pass
class ConnectionPool(object):
"""This class manages a pool of connections to storage nodes."""
......
......@@ -17,6 +17,9 @@
from ZODB import POSException
class ConnectionClosed(Exception):
pass
class NEOStorageError(POSException.StorageError):
pass
......
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