#NEWLINE# def register_urlconf( name , urlconf , label = None ) : #NEWLINE# #INDENT# for urlconf_tuple in registry : #NEWLINE# #INDENT# if ( urlconf_tuple [ 0 ] == urlconf ) : #NEWLINE# #INDENT# raise UrlconfAlreadyRegistered ( ( _ ( 'The urlconf %s has already been registered.' ) % name ) ) #NEWLINE# #UNINDENT# #UNINDENT# urlconf_tuple = ( name , urlconf , label , urlconf ) #NEWLINE# registry . append ( urlconf_tuple )