mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-18 05:51:32 +00:00
Remove unused write_bugs
The method was last invoked in 2008 (commit 3dc3be1c7). Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
1942e00ee1
commit
b505a5a357
15
britney.py
15
britney.py
@ -656,21 +656,6 @@ class Britney(object):
|
|||||||
bugs[pkg] += l[1].split(",")
|
bugs[pkg] += l[1].split(",")
|
||||||
return bugs
|
return bugs
|
||||||
|
|
||||||
def write_bugs(self, basedir, bugs):
|
|
||||||
"""Write the release critical bug summary to the specified directory
|
|
||||||
|
|
||||||
For a more detailed explanation of the format, please check the method
|
|
||||||
read_bugs.
|
|
||||||
"""
|
|
||||||
filename = os.path.join(basedir, "BugsV")
|
|
||||||
self.__log("Writing RC bugs data to %s" % filename)
|
|
||||||
f = open(filename, 'w')
|
|
||||||
for pkg in sorted(bugs.keys()):
|
|
||||||
if not bugs[pkg]:
|
|
||||||
continue
|
|
||||||
f.write("%s %s\n" % (pkg, ','.join(bugs[pkg])))
|
|
||||||
f.close()
|
|
||||||
|
|
||||||
def __maxver(self, pkg, dist):
|
def __maxver(self, pkg, dist):
|
||||||
"""Return the maximum version for a given package name
|
"""Return the maximum version for a given package name
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user