bodhi/tools/client.py | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 816b5200cdacbdaa90b97c92733ebfd6c0f44467 Author: Luke Macken lmacken@redhat.com Date: Thu Jul 1 20:31:02 2010 -0400
Support using --critpath and --type with --testable
diff --git a/bodhi/tools/client.py b/bodhi/tools/client.py index 6f68796..c796abb 100755 --- a/bodhi/tools/client.py +++ b/bodhi/tools/client.py @@ -276,6 +276,13 @@ def main():
elif opts.testable: for update in bodhi.testable(): + # Allow for some basic filtering of installed updates + if opts.critpath: + if not update['critpath']: + continue + if opts.type_: + if not update['type'] == opts.type_: + continue log.info(bodhi.update_str(update, minimal=opts.verbose))
elif opts.candidates: