From a59ae7c03bb0b5515082ac1f04a4ed3352a1a082 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Tue, 23 Feb 2010 19:30:20 +0100 Subject: [PATCH] List xz archives with echo. --- patoolib/programs/echo.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/patoolib/programs/echo.py b/patoolib/programs/echo.py index e2165ae..9b0dea8 100644 --- a/patoolib/programs/echo.py +++ b/patoolib/programs/echo.py @@ -30,6 +30,10 @@ def list_lzma (archive, encoding, cmd, **kwargs): """List a LZMA archive.""" return stripext(cmd, archive) +def list_xz (archive, encoding, cmd, **kwargs): + """List a XZ archive.""" + return stripext(cmd, archive) + def stripext (cmd, archive): """Echo the name without suffix.""" return [cmd, util.stripext(archive)]