Commit 4eeabcbf authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove unused imports.


git-svn-id: https://svn.erp5.org/repos/neo/trunk@1321 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8e2b08de
......@@ -16,7 +16,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
from neo import logging
from neo.connection import ServerConnection
from neo import protocol
from neo.protocol import PacketMalformedError, UnexpectedPacketError, \
BrokenNodeDisallowedError, NotReadyError, ProtocolError
......
......@@ -17,15 +17,15 @@
from neo import logging
import os, sys
from time import time, gmtime
from time import time
from struct import pack, unpack
from neo import protocol
from neo.protocol import RUNNING_STATE, TEMPORARILY_DOWN_STATE, DOWN_STATE, \
UUID_NAMESPACES, BOOTING_CLUSTER_STATE, INVALID_UUID
UUID_NAMESPACES, BOOTING_CLUSTER_STATE
from neo.node import NodeManager
from neo.event import EventManager
from neo.connection import ListeningConnection, ClientConnection, ServerConnection
from neo.connection import ListeningConnection, ClientConnection
from neo.exception import ElectionFailure, PrimaryFailure, VerificationFailure, \
OperationFailure
from neo.master.handlers import election, identification, secondary, recovery
......
......@@ -19,8 +19,7 @@ from neo import logging
from neo import protocol
from neo.master.handlers import MasterHandler
from neo.protocol import RUNNING_STATE, TEMPORARILY_DOWN_STATE, DOWN_STATE, \
HIDDEN_STATE, PENDING_STATE, RUNNING_CLUSTER_STATE
from neo.protocol import RUNNING_STATE, PENDING_STATE
from neo.util import dump
class AdministrationHandler(MasterHandler):
......
......@@ -19,7 +19,6 @@ from neo import logging
from neo import protocol
from neo.master.handlers import MasterHandler
from neo.protocol import UnexpectedPacketError, TEMPORARILY_DOWN_STATE
from neo.util import dump
class RecoveryHandler(MasterHandler):
......
......@@ -17,7 +17,6 @@
from neo import logging
from neo import protocol
from neo.protocol import CLIENT_NODE_TYPE
from neo.master.handlers import BaseServiceHandler
class ShutdownHandler(BaseServiceHandler):
......
......@@ -20,8 +20,7 @@ import sys
from collections import deque
from neo import protocol
from neo.protocol import TEMPORARILY_DOWN_STATE, \
cell_states, HIDDEN_STATE
from neo.protocol import HIDDEN_STATE
from neo.node import NodeManager
from neo.event import EventManager
from neo.storage.mysqldb import MySQLDatabaseManager
......
......@@ -18,7 +18,6 @@
from neo import logging
from neo.storage.handlers import BaseMasterHandler
from neo.protocol import TEMPORARILY_DOWN_STATE
from neo import protocol
class InitializationHandler(BaseMasterHandler):
......
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