[Git][reproducible-builds/diffoscope][master] 2 commits: Avoid "Command `s p a c e d o u t` failed" messages when creating an...

Chris Lamb gitlab at salsa.debian.org
Mon Nov 16 10:39:06 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
1fecab93 by Chris Lamb at 2020-11-16T10:38:06+00:00
Avoid "Command `s p a c e d o u t` failed" messages when creating an artificial CalledProcessError in our generic from_operation feeder creator.

- - - - -
7aeda170 by Chris Lamb at 2020-11-16T10:38:41+00:00
Use the operation's full name so that "command failed" messages include its arguments.

- - - - -


1 changed file:

- diffoscope/feeders.py


Changes:

=====================================
diffoscope/feeders.py
=====================================
@@ -138,7 +138,7 @@ def from_operation(operation):
                 )
             raise subprocess.CalledProcessError(
                 operation.returncode,
-                operation.name,
+                [operation.full_name()],
                 output=output.encode("utf-8"),
             )
         return end_nl



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/compare/03ed511233e02c3271f0100d5458056aad3f3248...7aeda1702aa626b874bfb45780ddcebce636f415
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/01b8baca/attachment.htm>


More information about the rb-commits mailing list