Remove unused arguments

main
Bob Mottram 2024-02-26 13:05:26 +00:00
parent 961bc38476
commit 15a8e9b523
2 changed files with 2 additions and 4 deletions

View File

@ -426,8 +426,7 @@ def _create_person_base(base_dir: str, nickname: str, domain: str, port: int,
private_key_pem, public_key_pem = generate_rsa_key() private_key_pem, public_key_pem = generate_rsa_key()
webfinger_endpoint = \ webfinger_endpoint = \
create_webfinger_endpoint(nickname, domain, port, create_webfinger_endpoint(nickname, domain, port,
http_prefix, public_key_pem, http_prefix)
group_account)
if save_to_file: if save_to_file:
store_webfinger_endpoint(nickname, domain, port, store_webfinger_endpoint(nickname, domain, port,
base_dir, webfinger_endpoint) base_dir, webfinger_endpoint)

View File

@ -165,8 +165,7 @@ def store_webfinger_endpoint(nickname: str, domain: str, port: int,
def create_webfinger_endpoint(nickname: str, domain: str, port: int, def create_webfinger_endpoint(nickname: str, domain: str, port: int,
http_prefix: str, public_key_pem: str, http_prefix: str) -> {}:
group_account: bool) -> {}:
"""Creates a webfinger endpoint for a user """Creates a webfinger endpoint for a user
NOTE: in earlier implementations group_account modified the acct prefix. NOTE: in earlier implementations group_account modified the acct prefix.
This has been left in, because currently there is still no consensus This has been left in, because currently there is still no consensus