mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
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)
|
||||
|
Loading…
Reference in New Issue
Block a user