patman: Make command methods return a CommandResult
authorSimon Glass <sjg@chromium.org>
Sat, 15 Dec 2012 10:42:04 +0000 (10:42 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Apr 2013 21:04:33 +0000 (14:04 -0700)
commita10fd93cbc2ddf1da1f8b6d915f4bc3276ff7731
tree738c8809d2a150bd507a8c0b0b27474e854042ee
parent71162e3cae29832192497d4a1b966336b638df01
patman: Make command methods return a CommandResult

Rather than returning a list of things, return an object. That makes it
easier to access the returned items, and easier to extend the return
value later.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/command.py
tools/patman/gitutil.py
tools/patman/patchstream.py