Corrections.
darcs-hash:20080209020948-af139-3a259bbab9d382b1c72a5d3087e47641b1f87417.gz
This commit is contained in:
parent
aa9724e031
commit
5d6f9722bb
2 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue