#1568 DN objects should support the insert method
Closed: Fixed None Opened 8 years ago by jdennis.

Inserting a RDN into a DN's RDN sequence was previously supported via slice notation because in Python:

s.insert(i, x) is equivalent to s[i:i] = [x]

but the syntax is a bit obscure so the insert() method should be available on DN objects for cleaner easier to read code.


patch submitted in:

[PATCH 34/34] ticket 1568 - DN objects should support the insert method

Metadata Update from @jdennis:
- Issue assigned to jdennis
- Issue set to the milestone: FreeIPA 2.1.1 (bug fixing)

2 years ago

Login to comment on this ticket.

Metadata