Browse Source

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

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2742 e5f2f494-b856-4b98-b285-d166d9295462
Jelte Jansen 14 years ago
parent
commit
cbd29a59e8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/bin/zonemgr/zonemgr.py.in

+ 2 - 1
src/bin/zonemgr/zonemgr.py.in

@@ -32,6 +32,7 @@ import random
 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 @@ class ZonemgrRefresh:
                 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