Fix various pylint warnings
authorIustin Pop <iustin@google.com>
Thu, 18 Jun 2009 10:11:10 +0000 (12:11 +0200)
committerIustin Pop <iustin@google.com>
Thu, 18 Jun 2009 10:49:07 +0000 (12:49 +0200)
commit29921401f2fb372efac3d5e022a4622b37c8e07e
treecf03a00f16c7741b78ec55451ff74d1301164e8c
parent3bd3d643b9e1b77d09db7021aa092487197b683f
Fix various pylint warnings

There were multiple issues:
  - copy-paste resulted in wrong indentation
  - wrong function name
  - missing spaces around assignment
  - overriding built-in names (type, dir) or already defines ones
    (errors, hypervisor)

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/backend.py
lib/cmdlib.py
lib/hypervisor/hv_base.py
lib/hypervisor/hv_kvm.py
lib/mcpu.py
lib/objects.py
lib/utils.py