Lines Matching defs:tarfile
60 import os, pwd, shutil, tarfile, time, traceback
440 tar = tarfile.open(self.bu.backupfile('metadata.tar.gz'),
443 except (EnvironmentError, tarfile.TarError), e:
452 except (EnvironmentError, tarfile.TarError), e:
454 # tarfile.TarError doesn't include the tar member or file
457 if isinstance(e, tarfile.TarError):
492 tar = tarfile.open(self.bu.backupfile('metadata.tar.gz'))
494 except (EnvironmentError, tarfile.TarError), e:
501 except (EnvironmentError, tarfile.TarError), e:
503 if isinstance(e, tarfile.TarError):
529 tar = tarfile.open(self.bu.backupfile('metadata.tar.gz'))
531 except (EnvironmentError, tarfile.TarError), e:
563 # Directories in tarfile always end with a '/'