Remove legacy LDAPEntry properties data and orig_data.

https://fedorahosted.org/freeipa/ticket/3488
This commit is contained in:
Jan Cholasta
2013-12-10 11:52:31 +01:00
committed by Petr Viktorin
parent aa66cd5f35
commit 4284a8349b
3 changed files with 4 additions and 19 deletions

View File

@@ -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)