remove using self in a static method
This commit is contained in:
parent
f145ede01b
commit
149b744ba7
|
@ -136,7 +136,7 @@ class PypoFetch(Thread):
|
||||||
try:
|
try:
|
||||||
lock.acquire()
|
lock.acquire()
|
||||||
tn = telnetlib.Telnet(LS_HOST, LS_PORT)
|
tn = telnetlib.Telnet(LS_HOST, LS_PORT)
|
||||||
self.logger.info(command)
|
logger.info(command)
|
||||||
tn.write(command)
|
tn.write(command)
|
||||||
tn.write('exit\n')
|
tn.write('exit\n')
|
||||||
tn.read_all()
|
tn.read_all()
|
||||||
|
|
Loading…
Reference in New Issue