Corect code style for main Python module. #2

Merged
mike merged 17 commits from bignose/ejabberd-auth-mastodon:wip/maintenance/code-style into master 2023-01-01 21:50:41 +11:00
Showing only changes of commit 4bed400c7d - Show all commits

View file

@ -94,7 +94,7 @@ def ejabberd_in():
input_length = sys.stdin.buffer.read(2)
if len(input_length) is not 2:
if len(input_length) != 2:
logging.debug("ejabberd sent us wrong things!")
raise EjabberdInputError('Wrong input from ejabberd!')