[svn] commit: r746 - /trunk/src/bin/cmdctl/b10-cmdctl.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Feb 8 11:15:09 UTC 2010


Author: jelte
Date: Mon Feb  8 11:15:08 2010
New Revision: 746

Log:
reply var could be uninitialized, so set to None before doing len check

Modified:
    trunk/src/bin/cmdctl/b10-cmdctl.py.in

Modified: trunk/src/bin/cmdctl/b10-cmdctl.py.in
==============================================================================
--- trunk/src/bin/cmdctl/b10-cmdctl.py.in (original)
+++ trunk/src/bin/cmdctl/b10-cmdctl.py.in Mon Feb  8 11:15:08 2010
@@ -162,6 +162,7 @@
         param = None
         len = self.headers.get('Content-Length')
         rcode = http.client.OK
+        reply = None
         if len:
             post_str = str(self.rfile.read(int(len)).decode())
             print("command parameter:%s" % post_str)




More information about the bind10-changes mailing list