#NEWLINE# def _get_pages( self , locations , project_name ) : #NEWLINE# #INDENT# '\n        Yields (page, page_url) from the given locations, skipping\n        locations that have errors.\n        ' #NEWLINE# seen = set ( ) #NEWLINE# for location in locations : #NEWLINE# #INDENT# if ( location in seen ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# seen . add ( location ) #NEWLINE# page = self . _get_page ( location ) #NEWLINE# if ( page is None ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# ( yield page )