Anton Shestakov <av6@dwimlabs.net>, Wed, 21 Nov 2018 20:41:07 +0800
plugin: strip individual lines in changelog, and not skip empty lines
Empty lines are still possible if (e.g. user is empty for null rev).
--- a/plugin.py Wed Nov 21 20:35:46 2018 +0800
+++ b/plugin.py Wed Nov 21 20:41:07 2018 +0800
return irc.reply('no changesets found')
- lines = [x for x in out.strip().splitlines() if x]
+ lines = [line.strip() for line in out.splitlines()]
node, date, user = lines[:3]
node = ircutils.bold(node)