[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:
Fabien Meghazi
2014-01-21 20:54:41 +01:00
parent ec0f811bd1
commit ef18e601dd
+1 -1
View File
@@ -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: