Skip to content

Commit

Permalink
Do not extract original filenames with .Z archives
Browse files Browse the repository at this point in the history
  • Loading branch information
wummel committed Nov 13, 2023
1 parent 4efc472 commit 244a48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patoolib/programs/gzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Archive commands for the gzip program."""
from . import test_singlefile_standard
from . import extract_singlefile_standard, test_singlefile_standard
from .. import util, fileutil, log
import os
import subprocess
Expand All @@ -30,7 +30,7 @@ def extract_gzip(archive, compression, cmd, verbosity, interactive, outdir):
util.shell_quote(outfile)])
return (cmdlist, {'shell': True})

extract_compress = extract_gzip
extract_compress = extract_singlefile_standard


def get_original_filename(cmd, outdir, archive):
Expand Down

0 comments on commit 244a48a

Please sign in to comment.