mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-26 19:24:56 +00:00
committed by
Alexander Graf
parent
c0066abd01
commit
b711f930ef
@@ -17,7 +17,7 @@ def resolve_hostname(hostname):
|
||||
|
||||
|
||||
def resolve_address(address):
|
||||
""" This function is identical to ``resolve_host`` but also supports
|
||||
""" This function is identical to ``resolve_hostname`` but also supports
|
||||
resolving an address, i.e. including a port.
|
||||
"""
|
||||
hostname, *rest = address.rsplit(":", 1)
|
||||
|
||||
Reference in New Issue
Block a user