def decompress_temp_file_object(self, compression):
<EOL>securesystemslib.formats.NAME_SCHEMA.check_match(compression)<EOL>if self._orig_file is not None:<EOL><INDENT>raise securesystemslib.exceptions.Error('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>if compression != '<STR_LIT>':<EOL><INDENT>raise securesystemslib.exceptions.Error('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>self.seek(<NUM_LIT:0>)<EOL>self._compression = compression<EOL>self._orig_file = self.temporary_file<EOL>try:<EOL><INDENT>gzip_file_object = gzip.GzipFile(fileobj=self.temporary_file, mode='<STR_LIT:rb>')<EOL>uncompressed_content = gzip_file_object.read()<EOL>self.temporary_file = tempfile.NamedTemporaryFile()<EOL>self.temporary_file.write(uncompressed_content)<EOL>self.flush()<EOL><DEDENT>except Exception as exception:<EOL><INDENT>raise securesystemslib.exceptions.DecompressionError(exception)<EOL><DEDENT>
<Purpose>
  To decompress a compressed temp file object.  Decompression is performed
  on a temp file object that is compressed, this occurs after downloading
  a compressed file.  For instance if a compressed version of some meta
  file in the repository is downloaded, the temp file containing the
  compressed meta file will be decompressed using this function.
  Note that after calling this method, write() can no longer be called.

                        meta.json.gz
                           |...[download]
                    temporary_file (containing meta.json.gz)
                    /             \
           temporary_file          _orig_file
      containing meta.json          containing meta.json.gz
      (decompressed data)

<Arguments>
  compression:
    A string indicating the type of compression that was used to compress
    a file.  Only gzip is allowed.

<Exceptions>
  securesystemslib.exceptions.FormatError: If 'compression' is improperly formatted.

  securesystemslib.exceptions.Error: If an invalid compression is given.

  securesystemslib.exceptions.DecompressionError: If the compression failed for any reason.

<Side Effects>
  'self._orig_file' is used to store the original data of 'temporary_file'.

<Return>
  None.