• Iustin Pop's avatar
    cleanup: fix IAllocator hypervisor usage · a0add446
    Iustin Pop authored
    Two problems: the iallocator.hypervisor wasn't initialized to None in
    the constructor, so pylint doesn't realize it's initialized later with
    setattr.
    
    Second, 'hypervisor' is a module, so we shouldn't use it as a variable.
    
    Reviewed-by: amishchenko
    a0add446
cmdlib.py 218 KB