Revision e687ec01 daemons/import-export
b/daemons/import-export | ||
---|---|---|
128 | 128 |
@param port: TCP/UDP port |
129 | 129 |
|
130 | 130 |
""" |
131 |
assert isinstance(port, (int, long)) and 0 < port < 2**16
|
|
131 |
assert isinstance(port, (int, long)) and 0 < port < (2 ** 16)
|
|
132 | 132 |
self._data.listen_port = port |
133 | 133 |
|
134 | 134 |
def GetListenPort(self): |
Also available in: Unified diff