From 15a8e9b52398f7b2e9b6e127d7006afdb5ca37dc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 26 Feb 2024 13:05:26 +0000 Subject: [PATCH] Remove unused arguments --- person.py | 3 +-- webfinger.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/person.py b/person.py index 096e4e55b..09baf2b97 100644 --- a/person.py +++ b/person.py @@ -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() webfinger_endpoint = \ create_webfinger_endpoint(nickname, domain, port, - http_prefix, public_key_pem, - group_account) + http_prefix) if save_to_file: store_webfinger_endpoint(nickname, domain, port, base_dir, webfinger_endpoint) diff --git a/webfinger.py b/webfinger.py index d4cb8bb2a..7b4e6f2c2 100644 --- a/webfinger.py +++ b/webfinger.py @@ -165,8 +165,7 @@ def store_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, - group_account: bool) -> {}: + http_prefix: str) -> {}: """Creates a webfinger endpoint for a user NOTE: in earlier implementations group_account modified the acct prefix. This has been left in, because currently there is still no consensus