Iustin Pop
authored
The current result of utils.LookupHostname() is a dict, but this does not allow static checkers to check the correctness of the code. This patch introduces a new class names HostInfo and changes LookupHostname to return an instance of this class; this allows better checking of the code (and also the code is cleaner). Reviewed-by: ultrotter
Name | Last commit | Last update |
---|---|---|
.. | ||
Makefile.am | ||
__init__.py | ||
backend.py | ||
bdev.py | ||
cli.py | ||
cmdlib.py | ||
config.py | ||
constants.py | ||
errors.py | ||
hypervisor.py | ||
logger.py | ||
mcpu.py | ||
objects.py | ||
opcodes.py | ||
rpc.py | ||
ssconf.py | ||
ssh.py | ||
utils.py |