mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove legacy LDAPEntry properties data and orig_data.
https://fedorahosted.org/freeipa/ticket/3488
This commit is contained in:
committed by
Petr Viktorin
parent
aa66cd5f35
commit
4284a8349b
@@ -714,7 +714,6 @@ class LDAPEntry(collections.MutableMapping):
|
||||
def conn(self):
|
||||
return self._conn
|
||||
|
||||
# properties for Entry and Entity compatibility
|
||||
@property
|
||||
def dn(self):
|
||||
return self._dn
|
||||
@@ -736,16 +735,6 @@ class LDAPEntry(collections.MutableMapping):
|
||||
self._single_value_view = SingleValueLDAPEntryView(self)
|
||||
return self._single_value_view
|
||||
|
||||
@property
|
||||
def data(self):
|
||||
# FIXME: for backwards compatibility only
|
||||
return self
|
||||
|
||||
@property
|
||||
def orig_data(self):
|
||||
# FIXME: for backwards compatibility only
|
||||
return self._orig
|
||||
|
||||
def __repr__(self):
|
||||
data = dict(self._raw)
|
||||
data.update((k, v) for k, v in self._nice.iteritems() if v is not None)
|
||||
|
||||
Reference in New Issue
Block a user