bodhi/tools/client.py | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
New commits:
commit e23cd5bac8a3ec53743829a5ee4ce377575e72e9
Author: Luke Macken <lmacken(a)redhat.com>
Date: Thu Dec 9 17:44:23 2010 -0500
Make `bodhi --push-type` work for updates going to testing as well
diff --git a/bodhi/tools/client.py b/bodhi/tools/client.py
index 66eb5d3..00880d7 100755
--- a/bodhi/tools/client.py
+++ b/bodhi/tools/client.py
@@ -238,16 +238,9 @@ def main():
if opts.push_type:
fupdates = []
for ptype in opts.push_type:
- # Filter all testing updates into the set, since
- # we only want push_type to apply to stable.
- fdata = filter(lambda x: x['type'] == ptype and
x['request'] == 'stable',
- data['updates'])
+ fdata = filter(lambda x: x['type'] == ptype,
data['updates'])
fupdates += fdata
- fdata = filter(lambda x: x['request'] == 'testing',
- data['updates'])
- fupdates += fdata
data['updates'] = fupdates
-
if opts.push_request:
fupdates = []
for req in opts.push_request:
Show replies by date