Remove trailing whitespace.

This commit is contained in:
Ben Finney 2022-12-19 09:24:40 +11:00
commit ebd066b170
2 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@ logging.basicConfig(level=logging.INFO,
filemode='a')
try:
# Connect to the DB, set autocommit and readonly otherwise postgresql seems to have a
# Connect to the DB, set autocommit and readonly otherwise postgresql seems to have a
# tendency to keep things "idle in transaction" and table locks eventually grind
# Mastodon to a halt. We don't make any changes anyway.
database=psycopg2.connect(host = db_host, user = db_user, password = db_pass, database = db_name, port = db_port)
@ -140,8 +140,8 @@ while True:
op_result = False
try:
# Only 'auth' and 'isuser' implemented, placeholders left to maybe
# expose other functions later but for now let's not even think about
# Only 'auth' and 'isuser' implemented, placeholders left to maybe
# expose other functions later but for now let's not even think about
# modifying the Mastodon DB
if ejab_request[0] == "auth":
op_result = auth(ejab_request[1], ejab_request[2], ejab_request[3])