View | Details | Raw Unified | Return to bug 41802
Collapse All | Expand All

(-)a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py (-1 / +2 lines)
 Lines 867-873   def lowerset(vals): Link Here 
867
867
868
		# case normalize object class names
868
		# case normalize object class names
869
		schema = self.lo.get_schema()
869
		schema = self.lo.get_schema()
870
		ocs = set(schema.get_obj(ldap.schema.models.ObjectClass, x).names[0] for x in ocs)
870
		ocs = (schema.get_obj(ldap.schema.models.ObjectClass, x) for x in ocs)
871
		ocs = set(x.names[0] for x in ocs if x)
871
872
872
		# make sure we still have a structural object class
873
		# make sure we still have a structural object class
873
		if not schema.get_structural_oc(ocs):
874
		if not schema.get_structural_oc(ocs):

Return to bug 41802