]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Do not insist the filename of a $INCLUDE is quoted
authorBob Halley <halley@dnspython.org>
Sun, 30 Jun 2013 19:29:53 +0000 (12:29 -0700)
committerBob Halley <halley@dnspython.org>
Sun, 30 Jun 2013 19:29:53 +0000 (12:29 -0700)
dns/zone.py

index a4fa07b58b6a0dfe0082fff8b9196776a561d9ba..d7b04cfa69cdf4bbf9c5c2c0f3b984a06fe5071e 100644 (file)
@@ -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():