From e25148e8603f1556164d08c945776756f969746c Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 9 Oct 2016 12:27:22 +0300 Subject: [PATCH] upip: Update utarfile from upstream. --- upip/upip_utarfile.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/upip/upip_utarfile.py b/upip/upip_utarfile.py index 719854f8..0570faf5 100644 --- a/upip/upip_utarfile.py +++ b/upip/upip_utarfile.py @@ -12,12 +12,6 @@ REGTYPE = "file" def roundup(val, align): return (val + align - 1) & ~(align - 1) -def skip(f, size): - assert size % 512 == 0 - buf = bytearray(512) - while size: - size -= f.readinto(buf) - class FileSection: def __init__(self, f, content_len, aligned_len):