From ef542bf9a70bdb355533212ebb803b010655d56c Mon Sep 17 00:00:00 2001 From: Vo Minh Thu Date: Thu, 18 Aug 2011 10:07:09 +0200 Subject: [PATCH] [REF] netsvc: removed no longer used method (the method was changed to a function in a previous commit). bzr revid: vmt@openerp.com-20110818080709-8htdrn4ixl3gu8sf --- openerp/netsvc.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/openerp/netsvc.py b/openerp/netsvc.py index 6125f2218b3..3548cf3046c 100644 --- a/openerp/netsvc.py +++ b/openerp/netsvc.py @@ -121,11 +121,6 @@ class ExportService(object): def dispatch(self, method, auth, params): raise Exception("stub dispatch at %s" % self.__name) - def abortResponse(self, error, description, origin, details): - if not tools.config['debug_mode']: - raise Exception("%s -- %s\n\n%s"%(origin, description, details)) - else: - raise BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE, _NOTHING, DEFAULT = range(10) #The background is set with 40 plus the number of the color, and the foreground with 30