mirror of
https://github.com/nvbn/thefuck.git
synced 2025-09-20 20:22:41 +01:00
#N/A: Minor style changes
This commit is contained in:
@@ -22,8 +22,7 @@ shells = {'bash': Bash,
|
||||
def _get_shell():
|
||||
proc = Process(os.getpid())
|
||||
|
||||
while (proc is not None):
|
||||
name = None
|
||||
while proc is not None:
|
||||
try:
|
||||
name = proc.name()
|
||||
except TypeError:
|
||||
|
Reference in New Issue
Block a user