From: Bob Halley Date: Sun, 30 Jun 2013 19:29:53 +0000 (-0700) Subject: Do not insist the filename of a $INCLUDE is quoted X-Git-Tag: v1.11.0-py3~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6d7014ed5946e34fad3de84220366e84086aec7;p=thirdparty%2Fdnspython.git Do not insist the filename of a $INCLUDE is quoted --- diff --git a/dns/zone.py b/dns/zone.py index a4fa07b5..d7b04cfa 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():