Skip to content
Snippets Groups Projects
Commit f74f670b authored by Alexandre MALFREYT's avatar Alexandre MALFREYT Committed by Florent LANGLOIS
Browse files

Remove 'six' for string handling in socket commands (unused)

parent c11ab6f3
Branches
Tags
1 merge request!2Python 3 + améliorations
......@@ -50,7 +50,6 @@ import sys
import os
from GEpressCtrlPACE5000Channel import GEpressCtrlPACE5000Channel, GEpressCtrlPACE5000ChannelClass
import socket
import six
#----- PROTECTED REGION END -----# // GEpressCtrlPACE5000.additionnal_import
......@@ -304,7 +303,7 @@ class GEpressCtrlPACE5000 (PyTango.LatestDeviceImpl):
"""
self.debug_stream("In WriteSocket()")
#----- PROTECTED REGION ID(GEpressCtrlPACE5000.WriteSocket) ENABLED START -----#
cmd = six.b(argin + '\n')
cmd = argin + '\n'
self.socket.send(cmd)
self.debug_stream("Sent command: " + argin)
......@@ -329,7 +328,7 @@ class GEpressCtrlPACE5000 (PyTango.LatestDeviceImpl):
argout = ""
#----- PROTECTED REGION ID(GEpressCtrlPACE5000.WriteReadSocket) ENABLED START -----#
cmd = six.b(argin + '\n')
cmd = argin + '\n'
self.socket.send(cmd)
self.debug_stream("Sent command: " + argin)
argout = self.socket.recv(100)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment