mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-19 07:53:00 +00:00
pyupgrade: run pyupgrade --py36-plus and black on all but tests
This commit is contained in:
@@ -926,7 +926,7 @@ class LocalAuthenticator(Authenticator):
|
||||
p.wait()
|
||||
if p.returncode:
|
||||
err = p.stdout.read().decode('utf8', 'replace')
|
||||
raise RuntimeError("Failed to create system user %s: %s" % (name, err))
|
||||
raise RuntimeError(f"Failed to create system user {name}: {err}")
|
||||
|
||||
|
||||
class PAMAuthenticator(LocalAuthenticator):
|
||||
|
Reference in New Issue
Block a user