Corrections.

darcs-hash:20080209020948-af139-3a259bbab9d382b1c72a5d3087e47641b1f87417.gz
This commit is contained in:
Jeremie Dimino 2008-02-09 03:09:48 +01:00
parent aa9724e031
commit 5d6f9722bb
2 changed files with 8 additions and 8 deletions

View file

@ -5,13 +5,13 @@
import socket
def pubipof(hostname):
socket.gethostbyname(hostname + ".crans.org")
return socket.gethostbyname(hostname + ".crans.org")
def admipof(hostname):
socket.gethostbyname(hostname + ".adm.crans.org")
return socket.gethostbyname(hostname + ".adm.crans.org")
def pubip():
pubip(pubhostname)
return pubip(pubhostname)
def admip():
admip(admhostname)
return admip(admhostname)