Univention Bugzilla – Attachment #8992: patch for bug #43396
for prop in self.PATH_KEYS:
self[prop] = '0'
for prop, attr in self.PATH_KEYS.iteritems():
if prop in pathResult:
if any(x == self.dn for x in pathResult.get(attr, [])):
for j in pathResult[prop]:
self[prop] = '1'
if j == self.dn:
self.save()