(self)
Signal that we are done writing the entire package.

    Emit the files.
Signal that we are done writing the entire package.
Signal that we are done writing the entire package .
def DoneWritingArchive(self):
    """Signal that we are done writing the entire package.

    Emit the files.
    """
    self.EndFile()
    for file_name in sorted(self._files):
      print('=== begin: %s' % file_name, file=self._final_output_stream)
      self._final_output_stream.write(self._files[file_name])
      print('=== end: %s' % file_name, file=self._final_output_stream)
    self._final_output_stream.flush()
def DoneWritingArchive ( self ) : self . EndFile ( ) for file_name in sorted ( self . _files ) : print ( '=== begin: %s' % file_name , file = self . _final_output_stream ) self . _final_output_stream . write ( self . _files [ file_name ] ) print ( '=== end: %s' % file_name , file = self . _final_output_stream ) self . _final_output_stream . flush ( )