def MakeStaticTranslation ( self , original_filename , encoding ) :
    "str"
    original = structure . _GATHERERS [ self . structure_type ] ( original_filename ,
        extkey = self . section ,
        encoding = encoding )
    original . Parse ( )
    translated = original . Translate ( constants . CONSTANT_LANGUAGE , False )
    fname = tempfile . mktemp ( )
    if util . WrapOutputStream ( open ( fname , "str" ) ) as writer :
        writer . write ( "str"
            % original_filename )
        writer . write ( translated )
    return fname

def MakeStaticTranslation ( self , original_filename , encoding ) :
    "str"
    original = structure . _GATHERERS [ self . structure_type ] ( original_filename ,
        extkey = self . section ,
        encoding = encoding )
    original . Parse ( )
    translated = original . Translate ( constants . CONSTANT_LANGUAGE , False )
    fname = tempfile . mktemp ( )
    with util . WrapOutputStream ( open ( fname , "str" ) ) as writer :
        writer . write ( "str"
            % original_filename )
        writer . write ( translated )
    return fname

次に示すpythonコードの誤りを修正しなさい。