forked from shaba/openuds
Fixed merge mistake
This commit is contained in:
parent
f1a7c4661e
commit
c3c11f3326
@ -47,7 +47,7 @@ import six
|
||||
import os
|
||||
import logging
|
||||
|
||||
__updated__ = '2017-01-30'
|
||||
__updated__ = '2017-02-07'
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@ -164,7 +164,7 @@ class BaseX2GOTransport(Transport):
|
||||
ready = self.cache.get(ip)
|
||||
if ready is None:
|
||||
# Check again for ready
|
||||
if self.testServer(userService, ip, '22') is True:
|
||||
if connection.testServer(ip, '22') is True:
|
||||
self.cache.put(ip, 'Y', READY_CACHE_TIMEOUT)
|
||||
return True
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user