summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/dn.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/ipapython/dn.py b/ipapython/dn.py
index 8585ee95f..4ba741e2f 100644
--- a/ipapython/dn.py
+++ b/ipapython/dn.py
@@ -1145,12 +1145,7 @@ class DN(object):
return self.RDN_type(*rdn, **{'raw': True})
def __str__(self):
- try:
- return dn2str(self.rdns)
- except Exception as e:
- print(len(self.rdns))
- print(self.rdns)
- raise
+ return dn2str(self.rdns)
def __repr__(self):
return "%s.%s('%s')" % (self.__module__, self.__class__.__name__, self.__str__())