#NEWLINE# def not_implemented( * args , **kwargs ) : #NEWLINE# #INDENT# 'A dummy function which exists only to catch configuration errors' #NEWLINE# import inspect #NEWLINE# stack = inspect . stack ( ) #NEWLINE# my_name = stack [ 0 ] [ 3 ] #NEWLINE# caller = stack [ 1 ] [ 3 ] #NEWLINE# raise NotImplementedError ( ( '%s should have been overridden. Called by %s as: %s(%s)' % ( my_name , caller , my_name , ', ' . join ( ( map ( repr , args ) + [ ( '%s=%s' % ( k , repr ( v ) ) ) for ( k , v ) in kwargs . items ( ) ] ) ) ) ) )