mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 23:38:20 +00:00
Python 3.2 workaround: Drop usage of clear()
The clear() collection method is not yet available in Python 3.2, but as long as snakefruit still runs Ubuntu 12.04 we need to get along without it.
This commit is contained in:
parent
7c6fd99417
commit
fadcea4995
@ -2308,7 +2308,7 @@ class Britney(object):
|
||||
self.output_write(" most: (%d) .. %s\n" % (len(selected), " ".join(x.uvname for x in selected[-20:])))
|
||||
nuninst_last_accepted = nuninst_after
|
||||
rescheduled_packages.extend(maybe_rescheduled_packages)
|
||||
maybe_rescheduled_packages.clear()
|
||||
maybe_rescheduled_packages = []
|
||||
else:
|
||||
broken = sorted(b for b in nuninst_after[failed_arch]
|
||||
if b not in nuninst_last_accepted[failed_arch])
|
||||
|
Loading…
x
Reference in New Issue
Block a user