[svn] commit: r1216 - /trunk/src/lib/python/isc/auth/master.py

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Mar 8 21:20:27 UTC 2010


Author: each
Date: Mon Mar  8 21:20:27 2010
New Revision: 1216

Log:
raise an exception when unable to open zone file

Modified:
    trunk/src/lib/python/isc/auth/master.py

Modified: trunk/src/lib/python/isc/auth/master.py
==============================================================================
--- trunk/src/lib/python/isc/auth/master.py (original)
+++ trunk/src/lib/python/isc/auth/master.py Mon Mar  8 21:20:27 2010
@@ -345,7 +345,7 @@
     try:
         zf = open(filename, 'r')
     except:
-        return
+        raise MasterFileError("Could not open " + filename)
     origin = initial_origin
     return zf
 




More information about the bind10-changes mailing list