We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca2d28b commit 7fc849cCopy full SHA for 7fc849c
python/pyspark/daemon.py
@@ -42,12 +42,12 @@ def should_exit():
42
43
44
def compute_real_exit_code(exit_code):
45
- # SystemExit's code can be integer or string, but os._exit only accepts integers
46
- import numbers
47
- if isinstance(exit_code, numbers.Integral):
48
- return exit_code
49
- else:
50
- return 1
+ # SystemExit's code can be integer or string, but os._exit only accepts integers
+ import numbers
+ if isinstance(exit_code, numbers.Integral):
+ return exit_code
+ else:
+ return 1
51
52
53
def worker(listen_sock):
0 commit comments