« Previous | Next » 

Revision a0add446

IDa0add446ad848ec8271d8dc0642a5b564d8847b6

Added by Iustin Pop over 15 years ago

cleanup: fix IAllocator hypervisor usage

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences