[Git][reproducible-builds/diffoscope][master] 2 commits: Fix a silly "prepend" typo.

Chris Lamb (@lamby) gitlab at salsa.debian.org
Mon Oct 19 16:32:30 UTC 2026



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
604c573f by Chris Lamb at 2026-10-19T09:31:24-07:00
Fix a silly "prepend" typo.

- - - - -
ee5fc613 by Chris Lamb at 2026-10-19T09:32:05-07:00
Support the dumppdf binary being called dumppdf.py on the host system.

- - - - -


1 changed file:

- diffoscope/comparators/pdf.py


Changes:

=====================================
diffoscope/comparators/pdf.py
=====================================
@@ -23,6 +23,7 @@ import os
 import re
 
 from diffoscope.tools import (
+    find_executable,
     python_module_missing,
     tool_required,
     get_package_provider,
@@ -86,7 +87,7 @@ class Pdftotext(Command):
 class Dumppdf(Command):
     @tool_required("dumppdf")
     def cmdline(self):
-        return ["dumppdf", "-at", self.path]
+        return [find_executable("dumppdf"), "-at", self.path]
 
 
 class PdfFile(File):
@@ -105,7 +106,7 @@ class PdfFile(File):
                 Difference.from_operation(Dumppdf, self.path, other.path)
             )
 
-        # Always preppend metadata differences
+        # Always prepend metadata differences
         xs[:0] = self.gen_metadata_differences(other)
 
         return xs



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/compare/d0db51f0560eb0acf8850d1eb9e9686b45bb0579...ee5fc6137c28e9bf52f6687c650b1e75a7174615

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/compare/d0db51f0560eb0acf8850d1eb9e9686b45bb0579...ee5fc6137c28e9bf52f6687c650b1e75a7174615
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


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


More information about the rb-commits mailing list