#NEWLINE# def get_extra_routes_data( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# extraroutes = getattr ( extraroutes . tab_group . kwargs [ 'router' ] , 'routes' ) #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# extraroutes = [ ] #NEWLINE# #UNINDENT# return [ api . RouterStaticRoute ( r ) for r in extraroutes ]