changeset ff4ad33fc8fa in tryton-tools:default
details: https://hg.tryton.org/tryton-tools?cmd=changeset&node=ff4ad33fc8fa
description:
        Filter out empty output
diffstat:

 reviewbot.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0452654263fe -r ff4ad33fc8fa reviewbot.py
--- a/reviewbot.py      Sat Dec 11 21:37:33 2021 +0100
+++ b/reviewbot.py      Sat Dec 11 21:37:49 2021 +0100
@@ -107,7 +107,7 @@
                 shell=True).decode('utf-8'))
     finally:
         os.chdir(cwd)
-    return '\n'.join(output)
+    return '\n'.join(filter(None, output))
 
 
 def has_update(entry_id, patchset):

Reply via email to