MCPcopy Create free account
hub / github.com/apenwarr/sshuttle / _fds

Function _fds

ssnet.py:55–63  ·  view source on GitHub ↗
(l)

Source from the content-addressed store, hash-verified

53
54
55def _fds(l):
56 out = []
57 for i in l:
58 try:
59 out.append(i.fileno())
60 except AttributeError:
61 out.append(i)
62 out.sort()
63 return out
64
65
66def _nb_clean(func, *args):

Callers 1

runonceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected