diff options
| author | Bob Halley <halley@nominum.com> | 2010-01-12 15:25:44 -0800 |
|---|---|---|
| committer | Bob Halley <halley@nominum.com> | 2010-01-12 15:25:44 -0800 |
| commit | cec8ac12682274f765ae8c8c76ce78d7eb6d2e64 (patch) | |
| tree | f8e57560b50a999c7b1afcdfe9aa32cd1cd77eff | |
| parent | 0cf68ff2679bf078d6cf12b12c64c0ded3f832a1 (diff) | |
| download | dnspython-cec8ac12682274f765ae8c8c76ce78d7eb6d2e64.tar.gz | |
fix typo
| -rw-r--r-- | dns/rdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/rdata.py b/dns/rdata.py index 7e8d606..d88faf3 100644 --- a/dns/rdata.py +++ b/dns/rdata.py @@ -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() |
