Add a Warn function to RpcResult
authorKlaus Aehlig <aehlig@google.com>
Tue, 4 Jun 2013 15:19:31 +0000 (17:19 +0200)
committerKlaus Aehlig <aehlig@google.com>
Wed, 5 Jun 2013 11:27:50 +0000 (13:27 +0200)
commit95e7e85e7678e0d48230f2c53193b3db260c6d08
treea23de3b3fbba14732570e599aeae276d1eec4c31
parent92070017864e42919012467d61af361edc92a969
Add a Warn function to RpcResult

At various places, LU code just wants to warn about
a failed rpc, but continue nevertheless. So factor out
that common checking, message formatting, and notifying.

Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
lib/rpc.py