Created
August 28, 2012 14:20
-
-
Save rbanffy/3498439 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -88,7 +88,8 @@ if PYTHON_VERSION < (2, 6): | |
# patch for this bug in tarfile module - http://bugs.python.org/issue1719898 | |
if PYTHON_VERSION == (2, 4): | |
- from tarfile import nts, GNUTYPE_SPARSE, normpath | |
+ from tarfile import nts, GNUTYPE_SPARSE | |
+ from os.path import normpath | |
def frombuf(cls, buf): | |
"""Construct a TarInfo object from a 512 byte string buffer. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment