Doc WebDAV: fix match_prop() to work like get_prop()
Some properties (like the getetag) are handled in the interface, so match_prop has to use that algorithm. bzr revid: p_christ@hol.gr-20100729133938-1frjiz3kqqc12hjz
This commit is contained in:
@@ -140,6 +140,8 @@ class openerp_dav_handler(dav_interface):
|
||||
raise DAV_NotFound
|
||||
|
||||
def match_prop(self, uri, match, ns, propname):
|
||||
if self.M_NS.has_key(ns):
|
||||
return match == dav_interface.get_prop(self, uri, ns, propname)
|
||||
cr, uid, pool, dbname, uri2 = self.get_cr(uri)
|
||||
if not dbname:
|
||||
if cr: cr.close()
|
||||
|
||||
Reference in New Issue
Block a user