diff options
author | 2012-04-28 09:44:27 +0200 | |
---|---|---|
committer | 2012-04-28 09:44:27 +0200 | |
commit | 702f27541b77cfd3878284851dc055872cfab905 (patch) | |
tree | 0008921c8c50e2ebae833b2a5c8e81624f655cd6 | |
parent | (no commit message) (diff) | |
download | arch-tools-702f27541b77cfd3878284851dc055872cfab905.tar.gz arch-tools-702f27541b77cfd3878284851dc055872cfab905.tar.bz2 arch-tools-702f27541b77cfd3878284851dc055872cfab905.zip |
Remove --limit option
This will make it possible to file bugs
as packages are considered, not in one batch
at the end.
-rwxr-xr-x | stabilization-candidates.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/stabilization-candidates.py b/stabilization-candidates.py index d4c82b9..3b2b72e 100755 --- a/stabilization-candidates.py +++ b/stabilization-candidates.py @@ -21,7 +21,6 @@ if __name__ == "__main__": parser = optparse.OptionParser() parser.add_option("--arch", dest="arch", action="append", help="Gentoo arch to use, e.g. x86, amd64, ... Can be passed multiple times.") parser.add_option("--days", dest="days", type=int, default=30, help="Number of days in the tree after stabilization is possible.") - parser.add_option("-l", "--limit", dest="limit", type="int", default=-1, help="Limit of filed bugs. Default is no limit.") parser.add_option("--repo", dest="repo", help="Path to portage CVS repository") parser.add_option("--category", dest="category", help="Portage category filter (default is all categories)") parser.add_option("--exclude", dest="exclude", help="Regular expression for excluded packages.") @@ -157,8 +156,6 @@ if __name__ == "__main__": url = 'http://packages.gentoo.org/package/%s?arches=linux' % urllib.quote(cp) final_candidates.append((best_candidate, url, maintainer, other_maintainers)) - if options.limit != -1: - final_candidates = random.sample(final_candidates, min(options.limit, len(final_candidates))) for x in final_candidates: best_candidate, url, maintainer, other_maintainers = x |