#NEWLINE# def thaw( self , frozen ) : #NEWLINE# #INDENT# tagMap = dict ( ( ( x . tag , x ) for x in self . _getTags ( ) ) ) #NEWLINE# self . _unknownTags = [ ] #NEWLINE# while frozen : #NEWLINE# #INDENT# ( tagNum , sizeType , substream , frozen ) = self . _readTag ( frozen ) #NEWLINE# tag = tagMap . get ( tagNum ) #NEWLINE# if ( not tag ) : #NEWLINE# #INDENT# if ( self . ignoreUnknown == SKIP_UNKNOWN ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . ignoreUnknown == PRESERVE_UNKNOWN ) : #NEWLINE# #INDENT# self . _unknownTags . append ( ( _tagInfo ( tagNum , sizeType , None , None ) , substream ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValueError ( 'unknown tag in stream set' ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# setattr ( self , tag . name , tag . type ( substream ) )