"scripts/cache-country-mirrors.py -q" is not quiet

Bug #540662 reported by Steve McInerney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Curtis Hovey

Bug Description

$ $LP_PY /srv/staging.launchpad.net/staging/launchpad/scripts/cache-country-mirrors.py -q /srv/mirrors.staging.launchpad.net/www/
/srv/staging.launchpad.net/staging/launchpad/lib/lp/registry/model/distributionmirror.py:435: UserWarning: shortlist() should not be used here. It's meant to listify sequences with no more than 100 items. There were 164 items.
  longest_expected=100))

The results output look fine, but that error message every time will mask true faults, unf.

Related branches

Revision history for this message
Stuart Bishop (stub) wrote :

Trivial fix is to bump up the max length of the short list. It isn't serious enough to refactor further, using resultsets instead of materialized lists.

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → High
affects: launchpad-foundations → launchpad-registry
Curtis Hovey (sinzui)
tags: added: mirror
tags: added: trivial
Changed in launchpad-registry:
milestone: none → series-10.05
Curtis Hovey (sinzui)
Changed in launchpad-registry:
assignee: nobody → Curtis Hovey (sinzui)
milestone: series-10.05 → 10.03
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 540662 Fix released

Fixed released in launchpad-project 10.03.

Changed in launchpad-registry:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.