Skip to content

Commit

Permalink
green.subprocess: keep SubprocessError identity
Browse files Browse the repository at this point in the history
  • Loading branch information
temoto committed Jul 2, 2017
1 parent 5859479 commit 01147b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eventlet/green/subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,5 @@ def patched_function(function):
# Keep exceptions identity.
# https://github.com/eventlet/eventlet/issues/413
CalledProcessError = subprocess_imported.CalledProcessError
SubprocessError = subprocess_imported.SubprocessError
del subprocess_imported

0 comments on commit 01147b5

Please sign in to comment.