Skip to content

Commit

Permalink
fixed style
Browse files Browse the repository at this point in the history
  • Loading branch information
e-dorigatti committed May 24, 2018
1 parent f0f80ed commit d59f0d5
Showing 1 changed file with 4 additions and 1 deletion.
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

0 comments on commit d59f0d5

Please sign in to comment.