original_docstring: Returns tar file with messages from SearchQuerySet in maildir format
docstring: Returns tar file with messages from SearchQuerySet in maildir format
docstring_tokens: Returns tar file with messages from SearchQuerySet in maildir format
code: def build_maildir_tar(results, tar, basename):
      """Returns tar file with messages from SearchQuerySet in maildir format"""
      for result in results:
          arcname = os.path.join(basename, result.object.email_list.name, result.object.hashcode)
          tar.add(result.object.get_file_path(), arcname=arcname)
      return tar
code_tokens: def build_maildir_tar ( results , tar , basename ) : for result in results : arcname = os . path . join ( basename , result . object . email_list . name , result . object . hashcode ) tar . add ( result . object . get_file_path ( ) , arcname = arcname ) return tar
short_docstring: Returns tar file with messages from SearchQuerySet in maildir format
short_docstring_tokens: Returns tar file with messages from SearchQuerySet in maildir format
comment: """Returns tar file with messages from SearchQuerySet in maildir format"""