[Git][reproducible-builds/diffoscope][master] Drop an unused function in iso9600.py

Chris Lamb (@lamby) gitlab at salsa.debian.org
Thu Jan 23 14:30:29 UTC 2025



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
061514a1 by Chris Lamb at 2025-01-22T14:48:56+00:00
Drop an unused function in iso9600.py

- - - - -


1 changed file:

- diffoscope/comparators/iso9660.py


Changes:

=====================================
diffoscope/comparators/iso9660.py
=====================================
@@ -24,27 +24,10 @@ from diffoscope.tools import tool_required
 from diffoscope.difference import Difference
 
 from .utils.file import File
-from .utils.command import Command, our_check_output
+from .utils.command import Command
 from .utils.libarchive import LibarchiveContainerWithFilelist
 
 
- at tool_required("isoinfo")
-def get_iso9660_names(path):
-    return (
-        our_check_output(
-            (
-                "isoinfo",
-                "-R",  # Always use RockRidge for names
-                "-f",
-                "-i",
-                path,
-            ),
-        )
-        .strip()
-        .split("\n")
-    )
-
-
 class ISO9660PVD(Command):
     @tool_required("isoinfo")
     def cmdline(self):



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

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/061514a112a70dc502af5fd4408f1bb49b3b6fb3
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/20250123/b25d7f36/attachment.htm>


More information about the rb-commits mailing list