#NEWLINE# def fetch( request ) : #NEWLINE# #INDENT# resp = urlopen ( request ) #NEWLINE# if ( ( resp . code < 200 ) or ( resp . code >= 300 ) ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# charset = ( get_charset ( resp ) or 'iso-8859-1' ) #NEWLINE# content = resp . read ( ) . decode ( resp ) #NEWLINE# resp . close ( ) #NEWLINE# return content