Snake case

main
Bob Mottram 2021-12-27 18:00:51 +00:00
parent 60302e0697
commit 022ecf1eb8
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ from utils import isPublicPost
from utils import get_cached_post_filename
from utils import remove_post_from_cache
from utils import urlPermitted
from utils import createInboxQueueDir
from utils import create_inbox_queue_dir
from utils import get_status_number
from utils import getDomainFromActor
from utils import getNicknameFromActor
@ -550,7 +550,7 @@ def savePostToInboxQueue(base_dir: str, http_prefix: str,
# NOTE: don't change post_json_object['id'] before signature check
inbox_queueDir = createInboxQueueDir(nickname, domain, base_dir)
inbox_queueDir = create_inbox_queue_dir(nickname, domain, base_dir)
handle = nickname + '@' + domain
destination = base_dir + '/accounts/' + \

View File

@ -803,7 +803,7 @@ def create_outbox_dir(nickname: str, domain: str, base_dir: str) -> str:
return createPersonDir(nickname, domain, base_dir, 'outbox')
def createInboxQueueDir(nickname: str, domain: str, base_dir: str) -> str:
def create_inbox_queue_dir(nickname: str, domain: str, base_dir: str) -> str:
"""Create an inbox queue and returns the feed filename and directory
"""
return createPersonDir(nickname, domain, base_dir, 'queue')