Remove ipv6 whois

This commit is contained in:
Mehdi Abaakouk 2012-01-20 16:55:30 +01:00
parent 53e48a4076
commit bf6dbe8d73
1 changed files with 0 additions and 1 deletions

1
lg.py
View File

@ -26,7 +26,6 @@ def add_links(text):
else:
line = re.sub(r'AS(\d+)', r'<a href="/whois/\1" class="whois">AS\1</a>',line)
line = re.sub(r'(\d+\.\d+\.\d+\.\d+)', r'<a href="/whois/\1" class="whois">\1</a>',line)
line = re.sub(r'([0-9a-fA-F:]*)', r'<a href="/whois/\1" class="whois">\1</a>',line)
ret_text.append(line)
return "\n".join(ret_text)