From: JINMEI Tatuya Date: Sat, 26 Jan 2013 04:22:08 +0000 (-0800) Subject: [1866] added one special RRclass constant by hand: NONE X-Git-Tag: bind10-1.0.0-rc-release~27^2~8^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ec1ffb481e68fdd06d04fa38aaf6b4348669649;p=thirdparty%2Fkea.git [1866] added one special RRclass constant by hand: NONE --- diff --git a/src/lib/dns/python/pydnspp.cc b/src/lib/dns/python/pydnspp.cc index 26fb11758e..d6f3046b5d 100644 --- a/src/lib/dns/python/pydnspp.cc +++ b/src/lib/dns/python/pydnspp.cc @@ -435,6 +435,10 @@ initModulePart_RRClass(PyObject* mod) { // Incorporate auto-generated RRClass constants #include + + // We still need to define some special classes by hand (for now) + installClassVariable(rrclass_type, "NONE", + createRRClassObject(RRClass::NONE())); } catch (const std::exception& ex) { const std::string ex_what = "Unexpected failure in RRClass initialization: " +