ciabot/libreoffice-bugzilla2.py | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit b16c74e070044ca85af06ed620b9a9a3369876a9 Author: Michael Stahl <[email protected]> Date: Thu Nov 6 15:48:53 2014 +0100 libreoffice-bugzilla2.py: try to avoid modifying non-LO bugs ... which can happen when mis-typing bug ids. Change-Id: I20d88a0aec83c7328d5ff6294adaa1e1f8d69a74 diff --git a/ciabot/libreoffice-bugzilla2.py b/ciabot/libreoffice-bugzilla2.py index 5e67ebe..e072f69 100644 --- a/ciabot/libreoffice-bugzilla2.py +++ b/ciabot/libreoffice-bugzilla2.py @@ -53,6 +53,9 @@ class FreedesktopBZ: def update_whiteboard(self, commit, bugnr, new_version, branch, repo_name): bug = self.bz.getbug(bugnr) print(bug) + if bug.product != "LibreOffice": + print("refusing to update bug with non-LO component") + return; old_whiteboard = bug.getwhiteboard() m = re.findall(new_version, old_whiteboard) _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
