Changes related to logging
authorIustin Pop <iustin@google.com>
Thu, 8 Nov 2007 19:04:23 +0000 (19:04 +0000)
committerIustin Pop <iustin@google.com>
Thu, 8 Nov 2007 19:04:23 +0000 (19:04 +0000)
commit5bfac263448b8fa518577dd010edd3a74bedb135
tree15451b283536e1b04f18e7d03f71138b93432808
parent175f44c27b6b7c0dd8dee3b54b2b5b631edfb466
Changes related to logging

This patch modifes:
  - mcpu.Processor.LogWarning to have its 'hint' parameter as optional
    and only log it if not None
  - cmdlib._WaitForSync to not log directly to stdout/stderr but via the
    proc.Log(Info|Warning) methods
  - the LU attribute 'processor' is renamed to 'proc' to shorten the
    name

Reviewed-by: imsnah
lib/cmdlib.py
lib/mcpu.py