mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-22 12:58:33 +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():
|
def _get_shell():
|
||||||
proc = Process(os.getpid())
|
proc = Process(os.getpid())
|
||||||
|
|
||||||
while (proc is not None):
|
while proc is not None:
|
||||||
name = None
|
|
||||||
try:
|
try:
|
||||||
name = proc.name()
|
name = proc.name()
|
||||||
except TypeError:
|
except TypeError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user