[REF] web_services: removed unused new_dispatch method.

bzr revid: vmt@openerp.com-20110728120754-deq2a4jiyhne1ynv
This commit is contained in:
Vo Minh Thu 2011-07-28 14:07:54 +02:00
parent 5c24a193f7
commit d8db9e6b1d
2 changed files with 0 additions and 20 deletions

View File

@ -144,9 +144,6 @@ class ExportService(object):
def dispatch(self, method, auth, params):
raise Exception("stub dispatch at %s" % self.__name)
def new_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))

View File

@ -73,8 +73,6 @@ class db(netsvc.ExportService):
fn = getattr(self, 'exp_'+method)
return fn(*params)
def new_dispatch(self,method,auth,params):
pass
def _create_empty_database(self, name):
db = sql_db.db_connect('template1')
cr = db.cursor()
@ -390,10 +388,6 @@ class common(netsvc.ExportService):
fn = getattr(self, 'exp_'+method)
return fn(*params)
def new_dispatch(self,method,auth,params):
pass
def exp_about(self, extended=False):
"""Return information about the OpenERP Server.
@ -575,10 +569,6 @@ class objects_proxy(netsvc.ExportService):
return res
def new_dispatch(self,method,auth,params):
pass
#
# Wizard ID: 1
# - None = end of wizard
@ -609,9 +599,6 @@ class wizard(netsvc.ExportService):
res = fn(db, uid, *params)
return res
def new_dispatch(self,method,auth,params):
pass
def _execute(self, db, uid, wiz_id, datas, action, context):
self.wiz_datas[wiz_id].update(datas)
wiz = netsvc.LocalService('wizard.'+self.wiz_name[wiz_id])
@ -670,10 +657,6 @@ class report_spool(netsvc.ExportService):
res = fn(db, uid, *params)
return res
def new_dispatch(self,method,auth,params):
pass
def exp_report(self, db, uid, object, ids, datas=None, context=None):
if not datas:
datas={}