From 9a2d05e51f6cd69ea926a94bae8ecb1cb3066dea Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Mon, 19 Dec 2022 09:25:45 +1100 Subject: [PATCH] =?UTF-8?q?Use=20=E2=80=98#=20=E2=80=99=20comment=20leader?= =?UTF-8?q?=20for=20block=20comments.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PEP 8 specifies: * Each line of a block comment starts with a # and a single space (unless it is indented text inside the comment). --- auth-mastodon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auth-mastodon.py b/auth-mastodon.py index ee3b858..26890b6 100644 --- a/auth-mastodon.py +++ b/auth-mastodon.py @@ -24,7 +24,7 @@ db_name="mastodon" db_query_getpass="select users.encrypted_password as password from accounts inner join users on accounts.id=users.account_id where lower(accounts.username) = %(user)s and accounts.domain is null" ######################################################################## -#Setup +# Setup ######################################################################## sys.stderr = open('/var/log/ejabberd/extauth_err.log', 'a') @@ -67,7 +67,7 @@ class EjabberdInputError(Exception): ######################################################################## -#Declarations +# Declarations ######################################################################## def ejabberd_in(): @@ -138,7 +138,7 @@ def auth(user, host, password): ######################################################################## -#Main Loop +# Main Loop ######################################################################## exitcode=0