- Cleanups

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@97 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.6
Cyril Jaquier 2005-03-31 15:46:57 +00:00
parent 6f6742266c
commit 35e12b9ef3
1 changed files with 0 additions and 8 deletions

View File

@ -70,11 +70,3 @@ def textToIp(text):
for e in dns:
ipList.append(e)
return ipList
if __name__ == "__main__":
print textToIp("jlkjlk 123.456.789.000 jlkjl rhost=lslpc49.epfl.ch www.google.ch")
try:
print socket.gethostbyname_ex("195.122.223.30")[2]
except socket.gaierror:
print "Error"