cleanup
This commit is contained in:
parent
2b9f8f2f9b
commit
715d0ca9d0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue