1
0
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:
nvbn 2016-04-12 00:37:18 +03:00
parent c6d2766553
commit 5ec4909d2f

View File

@ -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: