[Git][reproducible-builds/diffoscope][master] Revert "Call format_cmdline with a list" - it is already a list in this instance.

Chris Lamb gitlab at salsa.debian.org
Mon Nov 16 10:25:41 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
03ed5112 by Chris Lamb at 2020-11-16T10:25:31+00:00
Revert "Call format_cmdline with a list" - it is already a list in this instance.

The cause of "d u m p p d f" is elsewhere.

This reverts commit 177b41446c10c47952d3a8b5f41572e67e29f703.

- - - - -


1 changed file:

- diffoscope/comparators/utils/file.py


Changes:

=====================================
diffoscope/comparators/utils/file.py
=====================================
@@ -527,7 +527,7 @@ class File(metaclass=abc.ABCMeta):
 
                 difference.add_comment(
                     "Command `{}` failed with exit code {}.{}".format(
-                        format_cmdline([e.cmd]),
+                        format_cmdline(e.cmd),
                         e.returncode,
                         suffix or " (No output)",
                     )



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/03ed511233e02c3271f0100d5458056aad3f3248

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/03ed511233e02c3271f0100d5458056aad3f3248
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20201116/832cf808/attachment.htm>


More information about the rb-commits mailing list