p = spec.rindex(":")
first, second = spec[:p], spec[p + 1:]
if "/" in second:
- import sshsock
+ from . import sshsock
sk = sshsock.sshsocket(first, second)
else:
sk = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
used by the server process.
The proxy objects returned by this function are cached and the
- same object are returned the next time the same name is
+ same object is returned the next time the same name is
requested, which means that they are kept live until the
client connection is closed.
"""