Dzahn has submitted this change and it was merged.
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(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
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: merged
Gerrit-Change-Id: Icf6290f5fd6f510edfb6824534d10912c44f87fb
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits