Dzahn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/206333
Change subject: Revert "Revert "Make ircecho deduplicate statuses on all lines
in buffer""
......................................................................
Revert "Revert "Make ircecho deduplicate statuses on all lines in buffer""
This reverts commit a90994a383cd97bcf1c2b6342fbc0b2b511bf287.
Change-Id: Icf6290f5fd6f510edfb6824534d10912c44f87fb
---
M modules/ircecho/files/ircecho
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/33/206333/1
diff --git a/modules/ircecho/files/ircecho b/modules/ircecho/files/ircecho
index 523a072..051a981 100755
--- a/modules/ircecho/files/ircecho
+++ b/modules/ircecho/files/ircecho
@@ -140,7 +140,7 @@
class EventHandler(pyinotify.ProcessEvent):
def process_IN_MODIFY(self, event):
s = reader.readfile(event.pathname)
- s = beautify_message(s)
+ s = '\n'.join(beautify_message(m) for m in s.split('\n') if m)
if s:
chans = reader.getchannels(event.pathname)
try:
--
To view, visit https://gerrit.wikimedia.org/r/206333
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf6290f5fd6f510edfb6824534d10912c44f87fb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits