Skip to content

Commit

Permalink
- ConflictError is a subclass of TransientError, no need to test for …
Browse files Browse the repository at this point in the history
…both
  • Loading branch information
dataflake committed Feb 2, 2019
1 parent ba72a30 commit 4dc1700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZPublisher/WSGIPublisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def publish_module(environ, start_response,
with transaction_pubevents(request, response):
response = _publish(request, new_mod_info)
break
except (ConflictError, TransientError) as exc:
except TransientError as exc:
if request.supports_retry():
new_request = request.retry()
new_response = new_request.response
Expand Down

0 comments on commit 4dc1700

Please sign in to comment.