Commit 58f94f3b authored by Evan Hunt's avatar Evan Hunt
Browse files

raise an exception when unable to open zone file


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1216 e5f2f494-b856-4b98-b285-d166d9295462
parent d42c9951
......@@ -345,7 +345,7 @@ def openzone(filename, initial_origin = '.'):
try:
zf = open(filename, 'r')
except:
return
raise MasterFileError("Could not open " + filename)
origin = initial_origin
return zf
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment