def setFormatMetadata(self, format):
    """ Set format image metadata to what has been reliably identified. """
    assert((self.needMetadataUpdate(CoverImageMetadata.FORMAT)) or
           (self.format is format))
    self.format = format
    self.check_metadata &= ~CoverImageMetadata.FORMAT
def setFormatMetadata ( self , format ) : assert ( ( self . needMetadataUpdate ( CoverImageMetadata . FORMAT ) ) or ( self . format is format ) ) self . format = format self . check_metadata &= ~ CoverImageMetadata . FORMAT
Set format image metadata to what has been reliably identified.