| author | Richard Penman |
| Mon, 27 Jun 2016 20:33:43 +0100 | |
| changeset 104 | 67a8d95375b6 |
| parent 103 | 9b79ce8f9829 |
| child 105 | 2228d503a1f0 |
| whois/parser.py | file | annotate | diff | comparison | revisions |
--- a/whois/parser.py Mon Jun 27 20:25:08 2016 +0100 +++ b/whois/parser.py Mon Jun 27 20:33:43 2016 +0100 @@ -126,7 +126,7 @@ values = [] for value in re.findall(regex, self.text, re.IGNORECASE): value = value.strip() - if value and isinstance(value, basestring): + if value and isinstance(value, basestring) and not value.isdigit(): # try casting to date format value = cast_date( value,