mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-27 02:41:13 +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
2493520e98
commit
d86d88f44f
15
britney.py
15
britney.py
@ -656,21 +656,6 @@ class Britney(object):
|
||||
bugs[pkg] += l[1].split(",")
|
||||
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):
|
||||
"""Return the maximum version for a given package name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user