[svn] commit: r2742 - /trunk/src/bin/zonemgr/zonemgr.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Aug 16 14:21:10 UTC 2010


Author: jelte
Date: Mon Aug 16 14:21:10 2010
New Revision: 2742

Log:
added missing errno and fixed an exception variable that was referenced by the wrong name

Modified:
    trunk/src/bin/zonemgr/zonemgr.py.in

Modified: trunk/src/bin/zonemgr/zonemgr.py.in
==============================================================================
--- trunk/src/bin/zonemgr/zonemgr.py.in (original)
+++ trunk/src/bin/zonemgr/zonemgr.py.in Mon Aug 16 14:21:10 2010
@@ -32,6 +32,7 @@
 import threading
 import select
 import socket
+import errno
 from isc.datasrc import sqlite3_ds
 from optparse import OptionParser, OptionValueError
 from isc.config.ccsession import *
@@ -357,7 +358,7 @@
                 if e.args[0] == errno.EINTR:
                     (rlist, wlist, xlist) = ([], [], [])
                 else:
-                    raise ZonemgrException("[b10-zonemgr] Error with select(): %s\n" % err)
+                    raise ZonemgrException("[b10-zonemgr] Error with select(): %s\n" % e)
                     break
 
 




More information about the bind10-changes mailing list