Commit 2365d015 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove global protocol import.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1918 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3cd64067
......@@ -29,8 +29,7 @@ from neo import setupLog
setupLog('CLIENT', verbose=True)
from neo import logging
from neo import protocol
from neo.protocol import NodeTypes, Packets
from neo.protocol import NodeTypes, Packets, INVALID_PARTITION
from neo.event import EventManager
from neo.util import makeChecksum as real_makeChecksum, dump
from neo.locking import Lock
......@@ -884,7 +883,7 @@ class Application(object):
try:
conn.ask(self.local_var.queue, Packets.AskTIDs(first, last,
protocol.INVALID_PARTITION))
INVALID_PARTITION))
finally:
conn.unlock()
......
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