1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-29 16:55:32 +00:00

Use %r instead of %s in format string

This commit is contained in:
Unrud 2017-06-25 16:02:50 +02:00 committed by GitHub
parent b1206cbd65
commit 0b79d1650c

View file

@ -37,7 +37,7 @@ from radicale.auth import BaseAuth
class Auth(BaseAuth): class Auth(BaseAuth):
def is_authenticated(self, user, password): def is_authenticated(self, user, password):
self.logger.info("Login attempt by '%s' with password '%s'", self.logger.info("Login attempt by %r with password %r",
user, password) user, password)
return user == password return user == password
``` ```