BIND 10 trac983, updated. e090ab50879c15c850df8e8145f01d39dbd6b87b [trac983] changed the exception type for the invalid construction of RequestACL as a result of review.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Jul 8 19:44:22 UTC 2011
The branch, trac983 has been updated
via e090ab50879c15c850df8e8145f01d39dbd6b87b (commit)
via 832cd1c032222fec662f9320e6f564f55b75cc8a (commit)
from 7b2691afaea9ccefa2db073f8a717e003f2ad07e (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 e090ab50879c15c850df8e8145f01d39dbd6b87b
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Fri Jul 8 12:43:52 2011 -0700
[trac983] changed the exception type for the invalid construction of
RequestACL as a result of review.
commit 832cd1c032222fec662f9320e6f564f55b75cc8a
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Fri Jul 8 11:03:56 2011 -0700
[trac983] removed a garbage copyright notice as pointed out in review.
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/acl/dns.py | 19 -------------------
src/lib/python/isc/acl/dns_requestacl_python.cc | 3 +--
2 files changed, 1 insertions(+), 21 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/acl/dns.py b/src/lib/python/isc/acl/dns.py
index 9eaf33d..8070559 100644
--- a/src/lib/python/isc/acl/dns.py
+++ b/src/lib/python/isc/acl/dns.py
@@ -24,25 +24,6 @@
import os
import sys
-# Copyright (C) 2011 Internet Systems Consortium.
-#
-# Permission to use, copy, modify, and distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SYSTEMS CONSORTIUM
-# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
-# INTERNET SYSTEMS CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
-# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
-# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
-# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
-# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-
-# This file is not installed; The .so version will be installed into the right
-# place at installation time.
-# This helper script is only to find it in the .libs directory when we run
-# as a test or from the build directory.
for base in sys.path[:]:
bindingdir = os.path.join(base, 'isc/acl/.libs')
diff --git a/src/lib/python/isc/acl/dns_requestacl_python.cc b/src/lib/python/isc/acl/dns_requestacl_python.cc
index 00829ce..326c717 100644
--- a/src/lib/python/isc/acl/dns_requestacl_python.cc
+++ b/src/lib/python/isc/acl/dns_requestacl_python.cc
@@ -60,8 +60,7 @@ s_RequestACL::s_RequestACL() {}
namespace {
int
RequestACL_init(PyObject*, PyObject*, PyObject*) {
- PyErr_SetString(PyExc_TypeError,
- "RequestACL cannot be directly constructed");
+ PyErr_SetString(po_ACLError, "RequestACL cannot be directly constructed");
return (-1);
}
More information about the bind10-changes
mailing list