#NEWLINE# def delete_dummy( self , context , id ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# svc_type_id = self . dummys [ id ] [ 'service_type' ] #NEWLINE# del self . dummys [ id ] #NEWLINE# self . svctype_mgr . decrease_service_type_refcount ( context , svc_type_id ) #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise exceptions . NotFound ( )