diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/tarfile.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/tarfile.py b/Lib/tarfile.py index 607dbfa..ecb32f6 100644 --- a/Lib/tarfile.py +++ b/Lib/tarfile.py @@ -1577,17 +1577,6 @@ class TarFile(object): self.fileobj.write(buf) self.offset += len(buf) - def _getposix(self): - return self.format == USTAR_FORMAT - def _setposix(self, value): - import warnings - warnings.warn("use the format attribute instead", DeprecationWarning) - if value: - self.format = USTAR_FORMAT - else: - self.format = GNU_FORMAT - posix = property(_getposix, _setposix) - #-------------------------------------------------------------------------- # Below are the classmethods which act as alternate constructors to the # TarFile class. The open() method is the only one that is needed for |