Skip to content

Commit d59f0d5

Browse files
committed
fixed style
1 parent f0f80ed commit d59f0d5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

python/pyspark/util.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ def wrapper(*args, **kwargs):
9898
try:
9999
return f(*args, **kwargs)
100100
except StopIteration as exc:
101-
raise RuntimeError("Caught StopIteration thrown from user's code; failing the task", exc)
101+
raise RuntimeError(
102+
"Caught StopIteration thrown from user's code; failing the task",
103+
exc
104+
)
102105

103106
return wrapper
104107

0 commit comments

Comments
 (0)