summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2013-06-30 12:29:53 -0700
committerBob Halley <halley@dnspython.org>2013-06-30 12:29:53 -0700
commita6d7014ed5946e34fad3de84220366e84086aec7 (patch)
treef5cbb3839d94cb89b111fd64f0822077f8a7af86
parent63aeb11d70130255fd070fbc60523d6ed0f12311 (diff)
downloaddnspython-a6d7014ed5946e34fad3de84220366e84086aec7.tar.gz
Do not insist the filename of a $INCLUDE is quoted
-rw-r--r--dns/zone.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/dns/zone.py b/dns/zone.py
index a4fa07b..d7b04cf 100644
--- a/dns/zone.py
+++ b/dns/zone.py
@@ -668,8 +668,6 @@ class _MasterReader(object):
self.zone.origin = self.current_origin
elif u == '$INCLUDE' and self.allow_include:
token = self.tok.get()
- if not token.is_quoted_string():
- raise dns.exception.SyntaxError("bad filename in $INCLUDE")
filename = token.value
token = self.tok.get()
if token.is_identifier():