bodhi/tools/client.py | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit a4d172d9ef69ce75aa499890e3f0bc7881c69dbf Author: Luke Macken lmacken@redhat.com Date: Wed Feb 11 14:55:59 2009 -0500
Apply a patch from jwb to make pushing updates a bit easier
diff --git a/bodhi/tools/client.py b/bodhi/tools/client.py index 2a2bbfb..e06b841 100755 --- a/bodhi/tools/client.py +++ b/bodhi/tools/client.py @@ -200,10 +200,16 @@ def main(): if len(updates): log.info("\n" + status.title() + "\n========") for release in releases: + f = open(status.title() + '-' + release, 'w') log.info(release) for update in releases[release]: log.info("%s" % update['title']) + s = "%s" % update['title'] + s = s.replace(',','\n') + f.write(s + "\n") log.info('') + f.write('') + f.close()
## Confirm that we actually want to push these updates sys.stdout.write("\nPush these updates? [n]")