parameters: (self, file, debug_file, guid)
docstring: ProcessFiles has already produced a dSYM bundle, so we should just
          copy that to the destination directory. However, we'll package it
          into a .tar.bz2 because the debug symbols are pretty huge, and
          also because it's a bundle, so it's a directory. |file| here is the
          dSYM bundle, and |debug_file| is the original filename.
docstring_summary: ProcessFiles has already produced a dSYM bundle, so we should just
          copy that to the destination directory. However, we'll package it
          into a .tar.bz2 because the debug symbols are pretty huge, and
          also because it's a bundle, so it's a directory. |file| here is the
          dSYM bundle, and |debug_file| is the original filename.
docstring_tokens: ProcessFiles has already produced a dSYM bundle so we should just copy that to the destination directory . However we ll package it into a . tar . bz2 because the debug symbols are pretty huge and also because it s a bundle so it s a directory . |file| here is the dSYM bundle and |debug_file| is the original filename .
function: def CopyDebug(self, file, debug_file, guid):
          """ProcessFiles has already produced a dSYM bundle, so we should just
          copy that to the destination directory. However, we'll package it
          into a .tar.bz2 because the debug symbols are pretty huge, and
          also because it's a bundle, so it's a directory. |file| here is the
          dSYM bundle, and |debug_file| is the original filename."""
          rel_path = os.path.join(debug_file,
                                  guid,
                                  os.path.basename(file) + ".tar.bz2")
          full_path = os.path.abspath(os.path.join(self.symbol_path,
                                                    rel_path))
          success = subprocess.call(["tar", "cjf", full_path, os.path.basename(file)],
                                    cwd=os.path.dirname(file),
                                    stdout=open("/dev/null","w"), stderr=subprocess.STDOUT)
          if success == 0 and os.path.exists(full_path):
              self.output(sys.stdout, rel_path)
function_tokens: def CopyDebug ( self , file , debug_file , guid ) : rel_path = os . path . join ( debug_file , guid , os . path . basename ( file ) + ".tar.bz2" ) full_path = os . path . abspath ( os . path . join ( self . symbol_path , rel_path ) ) success = subprocess . call ( [ "tar" , "cjf" , full_path , os . path . basename ( file ) ] , cwd = os . path . dirname ( file ) , stdout = open ( "/dev/null" , "w" ) , stderr = subprocess . STDOUT ) if success == 0 and os . path . exists ( full_path ) : self . output ( sys . stdout , rel_path )