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
    
  
  
    
  | # Join us. https://aws.amazon.com/careers/linux-jobs/ | |
| import tarfile | |
| # Add xz support to tarfile | |
| # Is only read-only FIXME | |
| # Only works on named files FIXME | |
| if "xz" not in tarfile.TarFile.OPEN_METH: | |
| def _xzopen(cls, name, mode="r", fileobj=None, compresslevel=9, **kwargs): | |
| import tempfile, subprocess |