diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-09-18 15:44:47 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-09-18 15:44:47 +0100 |
commit | 1b15835a18c98b3adc4f7454652f2a8604bed4cf (patch) | |
tree | d03efc43d1f787a82a4b3fa25aad630024cf3584 /Makefile | |
parent | 4e2f91a4931b7cfe9b0c4a945f71de00186b3892 (diff) | |
download | sos-1b15835a18c98b3adc4f7454652f2a8604bed4cf.tar.gz |
[archive] introduce py2.6 TarFile compat wrapper
Python 2.6 lacks the filter parameter to TarFile.add() that the
TarFileArchive uses to preserve permissions on archive content.
Work around this by creating a wrapper class that implements the
missing functionality (duplicated from the py2.7.5 tarfile.py)
and use it whenever running on a python version less than 2.7.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions