diff options
-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 |