[diffoscope] 02/02: comparators.cpio: Drop CpioContent command now that we use libarchive.
Chris Lamb
chris at chris-lamb.co.uk
Fri Feb 3 21:52:30 CET 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit 1808a9920ae1bfa134ab7ad435357c0c18ea610b
Author: Chris Lamb <lamby at debian.org>
Date: Sat Feb 4 09:52:18 2017 +1300
comparators.cpio: Drop CpioContent command now that we use libarchive.
Signed-off-by: Chris Lamb <lamby at debian.org>
---
diffoscope/comparators/cpio.py | 8 --------
1 file changed, 8 deletions(-)
diff --git a/diffoscope/comparators/cpio.py b/diffoscope/comparators/cpio.py
index 551360d..ce2ef12 100644
--- a/diffoscope/comparators/cpio.py
+++ b/diffoscope/comparators/cpio.py
@@ -20,20 +20,12 @@
import re
-from diffoscope.tools import tool_required
from diffoscope.difference import Difference
from .utils.file import File
-from .utils.command import Command
from .utils.libarchive import LibarchiveContainer, list_libarchive
-class CpioContent(Command):
- @tool_required('cpio')
- def cmdline(self):
- return ['cpio', '--quiet', '--numeric-uid-gid', '--force-local', '-tvF', self.path]
-
-
class CpioFile(File):
CONTAINER_CLASS = LibarchiveContainer
RE_FILE_TYPE = re.compile(r'\bcpio archive\b')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list