fix isort
Change-Id: I5486e1f9b3143c6bb0804c49c7ca21adb9b84de1 Reviewed-on: https://forge.frm2.tum.de/review/19524 Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de> Tested-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
@ -36,20 +36,19 @@ Interface to the modules:
|
||||
- remove_module(modulename_or_obj): removes the module (during shutdown)
|
||||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
from __future__ import division, print_function
|
||||
|
||||
from time import time as currenttime
|
||||
import threading
|
||||
from time import time as currenttime
|
||||
|
||||
from secop.protocol.messages import EVENTREPLY, IDENTREQUEST, IDENTREPLY, \
|
||||
ENABLEEVENTSREPLY, DESCRIPTIONREPLY, WRITEREPLY, COMMANDREPLY, \
|
||||
DISABLEEVENTSREPLY, HEARTBEATREPLY
|
||||
|
||||
from secop.errors import NoSuchModuleError, NoSuchCommandError, \
|
||||
NoSuchParameterError, BadValueError, ReadOnlyError, \
|
||||
ProtocolError, SECoPServerError as InternalError
|
||||
|
||||
from secop.errors import SECoPServerError as InternalError
|
||||
from secop.errors import (BadValueError, NoSuchCommandError, NoSuchModuleError,
|
||||
NoSuchParameterError, ProtocolError, ReadOnlyError)
|
||||
from secop.params import Parameter
|
||||
from secop.protocol.messages import (COMMANDREPLY, DESCRIPTIONREPLY,
|
||||
DISABLEEVENTSREPLY, ENABLEEVENTSREPLY,
|
||||
EVENTREPLY, HEARTBEATREPLY, IDENTREPLY,
|
||||
IDENTREQUEST, WRITEREPLY)
|
||||
|
||||
try:
|
||||
unicode('a')
|
||||
|
@ -19,21 +19,23 @@
|
||||
#
|
||||
# *****************************************************************************
|
||||
"""provides tcp interface to the SECoP Server"""
|
||||
from __future__ import print_function
|
||||
from __future__ import division, print_function
|
||||
|
||||
import sys
|
||||
import socket
|
||||
import collections
|
||||
import socket
|
||||
import sys
|
||||
|
||||
from secop.errors import SECoPError
|
||||
from secop.lib import (formatException, formatExtendedStack,
|
||||
formatExtendedTraceback)
|
||||
from secop.protocol.interface import decode_msg, encode_msg_frame, get_msg
|
||||
from secop.protocol.messages import HELPREPLY, HELPREQUEST, HelpMessage
|
||||
|
||||
try:
|
||||
import socketserver # py3
|
||||
except ImportError:
|
||||
import SocketServer as socketserver # py2
|
||||
|
||||
from secop.lib import formatExtendedStack, formatException, formatExtendedTraceback
|
||||
from secop.protocol.messages import HELPREQUEST, HELPREPLY, HelpMessage
|
||||
from secop.errors import SECoPError
|
||||
from secop.protocol.interface import encode_msg_frame, get_msg, decode_msg
|
||||
|
||||
|
||||
DEF_PORT = 10767
|
||||
|
@ -21,6 +21,8 @@
|
||||
# *****************************************************************************
|
||||
"""provide a zmq server"""
|
||||
|
||||
from __future__ import division, print_function
|
||||
|
||||
# tbd.
|
||||
|
||||
# use zmq frames??
|
||||
|
@ -20,7 +20,7 @@
|
||||
#
|
||||
# *****************************************************************************
|
||||
"""Define SECoP Messages"""
|
||||
from __future__ import print_function
|
||||
from __future__ import division, print_function
|
||||
|
||||
# allowed actions:
|
||||
|
||||
|
Reference in New Issue
Block a user