#NEWLINE# def unpack_thin( thin_path ) : #NEWLINE# #INDENT# 'Unpack the Salt thin archive.' #NEWLINE# tfile = tarfile . TarFile . gzopen ( thin_path ) #NEWLINE# old_umask = os . umask ( 63 ) #NEWLINE# tfile . extractall ( path = OPTIONS . saltdir ) #NEWLINE# tfile . close ( ) #NEWLINE# os . umask ( old_umask ) #NEWLINE# os . unlink ( thin_path )