From b505a5a357f4911baf9d0a1befa02b4826bdd357 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Wed, 10 Jul 2013 20:01:03 +0200 Subject: [PATCH] Remove unused write_bugs The method was last invoked in 2008 (commit 3dc3be1c7). Signed-off-by: Niels Thykier --- britney.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/britney.py b/britney.py index 705ca77..920a11c 100755 --- a/britney.py +++ b/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