Skip to content

Commit 32cb829

Browse files
committed
fix lint
1 parent 0cd0817 commit 32cb829

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/pyspark/daemon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def cleanup_dead_children():
9191
except:
9292
pass
9393

94+
9495
def manager():
9596
# Create a new process group to corral our children
9697
os.setpgid(0, 0)
@@ -153,7 +154,7 @@ def handle_sigterm(*args):
153154
except OSError as e:
154155
if e.errno in (EAGAIN, EINTR):
155156
time.sleep(1)
156-
pid = os.fork() # error here will shutdown daemon
157+
pid = os.fork() # error here will shutdown daemon
157158
else:
158159
outfile = sock.makefile('w')
159160
write_int(e.errno, outfile) # Signal that the fork failed

0 commit comments

Comments
 (0)