Normalise indentation levels by wrapping at open parenthesis.

PEP 8 specifies:

* Use 4 spaces per indentation level.

* Continuation lines should align wrapped elements either vertically using
  Python’s implicit line joining inside parentheses, brackets and braces,
  or using a hanging indent.
pull/2/head
Ben Finney 2022-12-19 09:24:54 +11:00
rodzic c6c19a1bcf
commit dc09a6be92
1 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

@ -19,10 +19,12 @@ db_query_getpass="select users.encrypted_password as password from accounts inne
########################################################################
sys.stderr = open('/var/log/ejabberd/extauth_err.log', 'a')
logging.basicConfig(level=logging.INFO,
format='%(asctime)s %(levelname)s %(message)s',
filename='/var/log/ejabberd/extauth.log',
filemode='a')
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s %(levelname)s %(message)s',
filename='/var/log/ejabberd/extauth.log',
filemode='a',
)
try:
# Connect to the DB, set autocommit and readonly otherwise postgresql seems to have a