[gnome-continuous] bot: Fix inverted logic for channels
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] bot: Fix inverted logic for channels
- Date: Mon, 30 Sep 2013 18:29:27 +0000 (UTC)
commit df9d45a51d538b8707759a3ea60faa7e808ab40a
Author: Colin Walters <walters verbum org>
Date: Mon Sep 30 14:29:10 2013 -0400
bot: Fix inverted logic for channels
extras/ircbot/bot.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extras/ircbot/bot.py b/extras/ircbot/bot.py
index 202ee29..4e99bc0 100644
--- a/extras/ircbot/bot.py
+++ b/extras/ircbot/bot.py
@@ -156,9 +156,9 @@ class BuildGnomeOrg(irc.IRCClient):
msg = self._status_line_for_task(taskname)
- if success_changed:
+ if announce_always:
self._sendTo(self._flood_channels, msg)
- if announce_always or success_changed:
+ if success_changed:
self._sendTo(self._status_channels, msg)
def _buildstatus_for_task(self, taskname):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]