dbe instead of lde One line bug fix for compat and nis tools

This commit is contained in:
Jr Aquino 2010-12-08 14:26:17 -08:00 committed by Simo Sorce
parent e5ccddf446
commit 07e55f44b2
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ def main():
retval = 2
except errors.DatabaseError, dbe:
print "An error occurred while talking to the server."
print lde
print dbe
retval = 1
except errors.LDAPError, lde:
print "An error occurred while talking to the server."

View File

@ -184,7 +184,7 @@ def main():
pass
except errors.DatabaseError, dbe:
print "An error occurred while talking to the server."
print lde
print dbe
retval = 1
except errors.LDAPError, lde:
print "An error occurred while talking to the server."