bodhi/tools/client.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 43db5615b19d7975df0034ab076a880c17a7687a Author: Luke Macken lmacken@redhat.com Date: Thu Aug 26 13:46:56 2010 -0400
Hopefully fix a bug in using `bodhi --push-build=` on multi-build updates (#409)
diff --git a/bodhi/tools/client.py b/bodhi/tools/client.py index d6c1cfd..10d6839 100755 --- a/bodhi/tools/client.py +++ b/bodhi/tools/client.py @@ -251,8 +251,8 @@ def main(): fupdates += fdata data['updates'] = fupdates if opts.push_build: - data['updates'] = filter(lambda x: x['title'] in opts.push_build, - data['updates']) + data['updates'] = filter(lambda x: x['title'].split(',')[0] in + opts.push_build, data['updates'])
log.info("[ %d Pending Requests ]" % len(data['updates'])) for status in ('testing', 'stable', 'obsolete'):
commit ff0880f55fead13eb6a8dda8497916cd0e14268e Author: Luke Macken lmacken@redhat.com Date: Thu Aug 26 13:43:38 2010 -0400
Remove a spurious debugging statement in the bodhi-client
diff --git a/bodhi/tools/client.py b/bodhi/tools/client.py index 0d5ae24..d6c1cfd 100755 --- a/bodhi/tools/client.py +++ b/bodhi/tools/client.py @@ -254,7 +254,6 @@ def main(): data['updates'] = filter(lambda x: x['title'] in opts.push_build, data['updates'])
- log.debug(data) log.info("[ %d Pending Requests ]" % len(data['updates'])) for status in ('testing', 'stable', 'obsolete'): updates = filter(lambda x: x['request'] == status,