Use ‘# ’ comment leader for block comments.

PEP 8 specifies:

* Each line of a block comment starts with a # and a single space (unless
  it is indented text inside the comment).
This commit is contained in:
Ben Finney 2022-12-19 09:25:45 +11:00
parent 512114517c
commit 9a2d05e51f
1 changed files with 3 additions and 3 deletions

View File

@ -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