[FIX] Reflect endpoints changes introduced in server's Revision: 5153 revid:fme@openerp.com-20140121195348-mcdreqjo3kod0p7i
bzr revid: fme@openerp.com-20140121195441-ijt2yjv32v8b39kq
This commit is contained in:
@@ -323,7 +323,7 @@ class website(osv.osv):
|
||||
:type rule: werkzeug.routing.Rule
|
||||
:rtype: bool
|
||||
"""
|
||||
spec = inspect.getargspec(rule.endpoint)
|
||||
spec = inspect.getargspec(rule.endpoint.method)
|
||||
|
||||
# if *args bail the fuck out, only dragons can live there
|
||||
if spec.varargs:
|
||||
|
||||
Reference in New Issue
Block a user