#NEWLINE# def __init__( self , user_db , permission_type ) : #NEWLINE# #INDENT# self . permission_type = permission_type #NEWLINE# message = ( 'User "%s" doesn\'t have required permission "%s"' % ( user_db . name , permission_type ) ) #NEWLINE# super ( ResourceTypeAccessDeniedError , self ) . __init__ ( message = permission_type , user_db = user_db )