This commit is contained in:
Paul Müller 2022-04-20 20:21:44 +02:00 committed by GitHub
parent 2b9f8f2f9b
commit 715d0ca9d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -161,7 +161,6 @@ def get_user() -> Optional[str]:
try:
# In some exotic environments, getpass may not be importable.
import getpass
return getpass.getuser()
except (ImportError, KeyError):
return None