[svn] commit: r4125 - /branches/trac384/src/bin/bindctl/bindcmd.py

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jan 3 15:28:27 UTC 2011


Author: jelte
Date: Mon Jan  3 15:28:26 2011
New Revision: 4125

Log:
show actual error (ie the exception text) for a DataNotFoundError, instead of just 'not found'

Modified:
    branches/trac384/src/bin/bindctl/bindcmd.py

Modified: branches/trac384/src/bin/bindctl/bindcmd.py
==============================================================================
--- branches/trac384/src/bin/bindctl/bindcmd.py (original)
+++ branches/trac384/src/bin/bindctl/bindcmd.py Mon Jan  3 15:28:26 2011
@@ -623,7 +623,7 @@
         except isc.cc.data.DataTypeError as dte:
             print("Error: " + str(dte))
         except isc.cc.data.DataNotFoundError as dnfe:
-            print("Error: " + identifier + " not found")
+            print("Error: " + str(dnfe))
         except KeyError as ke:
             print("Error: missing " + str(ke))
             raise ke




More information about the bind10-changes mailing list