]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
fix typo
authorBob Halley <halley@nominum.com>
Tue, 12 Jan 2010 23:25:44 +0000 (15:25 -0800)
committerBob Halley <halley@nominum.com>
Tue, 12 Jan 2010 23:25:44 +0000 (15:25 -0800)
dns/rdata.py

index 7e8d606e6ff2e7755f0e847650f51180edccfd28..d88faf3b34440cc99924ac522f3fe01cdce2c3eb 100644 (file)
@@ -320,7 +320,7 @@ class GenericRdata(Rdata):
 
     def from_text(cls, rdclass, rdtype, tok, origin = None, relativize = True):
         token = tok.get()
-        if not token.is_identifier() or token.value != '\#'
+        if not token.is_identifier() or token.value != '\#':
             raise dns.exception.SyntaxError, \
                   r'generic rdata does not start with \#'
         length = tok.get_int()