BIND 10 trac2853, updated. 45087a113407dbb6b657f6e410dcf8158219effe [2853] Remove references to catch_load_error

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Jun 14 10:42:52 UTC 2013


The branch, trac2853 has been updated
       via  45087a113407dbb6b657f6e410dcf8158219effe (commit)
      from  3a874c84baf65289d49be69c041b8340c946617a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 45087a113407dbb6b657f6e410dcf8158219effe
Author: Mukund Sivaraman <muks at isc.org>
Date:   Fri Jun 14 16:12:13 2013 +0530

    [2853] Remove references to catch_load_error

-----------------------------------------------------------------------

Summary of changes:
 src/lib/python/isc/datasrc/zonewriter_inc.cc |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/datasrc/zonewriter_inc.cc b/src/lib/python/isc/datasrc/zonewriter_inc.cc
index 03be289..efe1144 100644
--- a/src/lib/python/isc/datasrc/zonewriter_inc.cc
+++ b/src/lib/python/isc/datasrc/zonewriter_inc.cc
@@ -46,14 +46,15 @@ the data actually served, it only prepares them for future use.\n\
 This is the first method you should call on the object. Never call it\n\
 multiple times.\n\
 \n\
-If the ZoneWriter was constructed with catch_load_error being True, then\n\
-in case a load error happens, a string with the error message will be\n\
-returned. In all other cases, None is returned.\n\
+Depending on how the ZoneWriter was constructed, in case a load error\n\
+happens, a string with the error message may be returned. When\n\
+ZoneWriter is not constructed to do that, in case of a load error, a\n\
+DataSourceError exception is raised. In all other cases, this method\n\
+returns None.\n\
 \n\
 Exceptions:\n\
   isc.InvalidOperation if called second time.\n\
-  DataSourceError load related error (not thrown if constructed with\n\
-             catch_load_error being True).\n\
+  DataSourceError load related error (not thrown if constructed not to).\n\
 \n\
 ";
 
@@ -66,9 +67,9 @@ This replaces the old version of zone with the one previously prepared\n\
 by load(). It takes ownership of the old zone data, if any.\n\
 \n\
 You may call it only after successful load() and at most once. It\n\
-includes the case the writer is constructed with catch_load_error\n\
-being true and load() encountered and caught a DataSourceError\n\
-exception. In this case this method installs a special empty zone to\n\
+includes the case the writer is constructed to allow load errors,\n\
+and load() encountered and caught a DataSourceError exception.\n\
+In this case this method installs a special empty zone to\n\
 the table.\n\
 \n\
 The operation is expected to be fast and is meant to be used inside a\n\



More information about the bind10-changes mailing list