bodhi/model.py | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 7986925db3d2f109a29fa3d80b6387abef305ef4
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed May 20 12:47:13 2009 -0400
Add a comment about the closing status of bugzillas
diff --git a/bodhi/model.py b/bodhi/model.py
index 813e076..ef7b9a1 100644
--- a/bodhi/model.py
+++ b/bodhi/model.py
@@ -907,6 +907,12 @@ class Bugzilla(SQLObject):
log.debug('Skipping bug modification, close_bugs == False')
def close_bug(self, update):
+ """Close this bugzilla with details from an update.
+
+ This method will only close Fedora bugs, and it will close them with
+ the status of `ERRATA`. For details on why this is so, see this
+ ticket:
https://fedorahosted.org/bodhi/ticket/320
+ """
bz = Bugzilla.get_bz()
try:
ver = '-'.join(get_nvr(update.builds[0].nvr)[-2:])