mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-23 19:31:55 +00:00
Stop claiming to be reading/writing bug counts.
The bug data has contained lists of bugs rather than simple counts for some time now. Update the log messages to reflect this reality. Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
parent
0cf9634527
commit
47a0dfc896
@ -595,7 +595,7 @@ class Britney:
|
||||
"""
|
||||
bugs = {}
|
||||
filename = os.path.join(basedir, "BugsV")
|
||||
self.__log("Loading RC bugs count from %s" % filename)
|
||||
self.__log("Loading RC bugs data from %s" % filename)
|
||||
for line in open(filename):
|
||||
l = line.split()
|
||||
if len(l) != 2:
|
||||
@ -613,7 +613,7 @@ class Britney:
|
||||
read_bugs.
|
||||
"""
|
||||
filename = os.path.join(basedir, "BugsV")
|
||||
self.__log("Writing RC bugs count to %s" % filename)
|
||||
self.__log("Writing RC bugs data to %s" % filename)
|
||||
f = open(filename, 'w')
|
||||
for pkg in sorted(bugs.keys()):
|
||||
if not bugs[pkg]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user