[svn] commit: r832 - /branches/jelte-configuration/src/lib/config/python/isc/config/cfgmgr.py

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Feb 16 10:27:17 UTC 2010


Author: jelte
Date: Tue Feb 16 10:27:17 2010
New Revision: 832

Log:
removed a few prints

Modified:
    branches/jelte-configuration/src/lib/config/python/isc/config/cfgmgr.py

Modified: branches/jelte-configuration/src/lib/config/python/isc/config/cfgmgr.py
==============================================================================
--- branches/jelte-configuration/src/lib/config/python/isc/config/cfgmgr.py (original)
+++ branches/jelte-configuration/src/lib/config/python/isc/config/cfgmgr.py Tue Feb 16 10:27:17 2010
@@ -225,8 +225,6 @@
                 self.cc.group_sendmsg({ "config_update": conf_part[module_name] }, module_name)
                 # replace 'our' answer with that of the module
                 answer, env = self.cc.group_recvmsg(False)
-                print("[XX] module responded with")
-                print(answer)
             rcode, val = isc.config.ccsession.parse_answer(answer)
             if rcode == 0:
                 self.write_config()
@@ -240,8 +238,6 @@
                 if module != "version":
                     self.cc.group_sendmsg({ "config_update": self.config.data[module] }, module)
                     answer, env = self.cc.group_recvmsg(False)
-                    print("[XX] one module responded with")
-                    print(answer)
                     rcode, val = isc.config.ccsession.parse_answer(answer)
                     if rcode != 0:
                         got_error = True
@@ -266,8 +262,6 @@
         # todo: error checking (like keyerrors)
         answer = {}
         self.set_data_spec(spec)
-        print("[XX] cfgmgr add spec:")
-        print(spec)
         
         # We should make one general 'spec update for module' that
         # passes both specification and commands at once
@@ -317,10 +311,6 @@
             msg, env = self.cc.group_recvmsg(False)
             if msg:
                 answer = self.handle_msg(msg);
-                print("[XX] CFGMGR Sending answer to UI:")
-                print(answer)
-                print("For command")
-                print(msg)
                 self.cc.group_reply(env, answer)
             else:
                 self.running = False




More information about the bind10-changes mailing list