mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-20 20:09:07 +00:00
#N/A: Minor style changes
This commit is contained in:
parent
c6d2766553
commit
5ec4909d2f
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user