Download:
child 27:41767a02e8da
parent 25:02687e613b7d
26:ba80cf1291a8 draft
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).

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
plugin.py file | annotate | diff | comparison | revisions
--- a/plugin.py Wed Nov 21 20:35:46 2018 +0800
+++ b/plugin.py Wed Nov 21 20:41:07 2018 +0800
@@ -103,7 +103,7 @@
if not out:
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]
lines = lines[3:]
node = ircutils.bold(node)