[FIX] incorrect documentation of get_*_string in nonliterals.Context and nonliterals.Domain: the 'session' parameter has not existed in a long time

bzr revid: xmo@openerp.com-20110505064143-1e25gm967nxb9gyb
This commit is contained in:
Xavier Morel 2011-05-05 08:41:43 +02:00
parent 3e4c8c38da
commit 94b53db195
1 changed files with 0 additions and 8 deletions

View File

@ -80,10 +80,6 @@ class Domain(object):
def get_domain_string(self):
""" Retrieves the domain string linked to this non-literal domain in
the provided session.
:param session: the OpenERP Session used to store the domain string in
the first place.
:type session: openerpweb.openerpweb.OpenERPSession
"""
return self.session.domains_store[self.key]
@ -129,10 +125,6 @@ class Context(object):
def get_context_string(self):
""" Retrieves the context string linked to this non-literal context in
the provided session.
:param session: the OpenERP Session used to store the context string in
the first place.
:type session: openerpweb.openerpweb.OpenERPSession
"""
return self.session.contexts_store[self.key]