#NEWLINE# @ classmethod #NEWLINE# def crawl_link( cls , context , link ) : #NEWLINE# #INDENT# if cls . local : #NEWLINE# #INDENT# return cls . crawl_local ( link ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if link . remote : #NEWLINE# #INDENT# return cls . crawl_remote ( context , link ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# TRACER . log ( ( 'Failed to crawl %s: unknown scheme %s' % ( link . url , link . scheme ) ) ) #NEWLINE# return ( set ( ) , set ( ) )