From ddaa08f7a63a1fedf4c1f2804873199dd5182142 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 7 May 2014 21:06:38 +0200 Subject: importpkg: add support for control.tar and control.tar.xz dpkg supports those since 1.17.6. Signed-off-by: Guillem Jover --- dedup/debpkg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dedup') diff --git a/dedup/debpkg.py b/dedup/debpkg.py index 2d67135..dbee849 100644 --- a/dedup/debpkg.py +++ b/dedup/debpkg.py @@ -3,7 +3,7 @@ from debian import deb822 from dedup.hashing import hash_file def process_control(control_contents): - """Parses the contents of a control file from a control.tar.gz of a Debian + """Parses the contents of a control file from a control.tar of a Debian package and returns a dictionary containing the fields relevant to dedup. @type control_contents: bytes @rtype: {str: object} -- cgit v1.2.3