mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 21:45:03 +02:00
Cleanup previous PR
This commit is contained in:
@@ -176,8 +176,7 @@ env COLORTERM
|
||||
try:
|
||||
expected_login_shell = pwd.getpwuid(os.geteuid()).pw_shell
|
||||
except KeyError:
|
||||
with suppress(KeyError):
|
||||
self.skipTest('Skipping login shell detection as getpwuid() failed to read login shell')
|
||||
self.skipTest('Skipping login shell detection as getpwuid() failed to read login shell')
|
||||
if os.path.basename(expected_login_shell) == 'nologin':
|
||||
self.skipTest('Skipping login shell detection as login shell is set to nologin')
|
||||
for m in methods:
|
||||
|
||||
Reference in New Issue
Block a user