Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed style
  • Loading branch information
e-dorigatti committed May 24, 2018
commit d59f0d5a2735713bb7e218cfcda2b494edfcf522
5 changes: 4 additions & 1 deletion python/pyspark/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ def wrapper(*args, **kwargs):
try:
return f(*args, **kwargs)
except StopIteration as exc:
raise RuntimeError("Caught StopIteration thrown from user's code; failing the task", exc)
raise RuntimeError(
"Caught StopIteration thrown from user's code; failing the task",
exc
)

return wrapper

Expand Down