Skip to content

Commit

Permalink
Add purge to exception method
Browse files Browse the repository at this point in the history
  • Loading branch information
Xcelled committed Oct 18, 2018
1 parent a892bda commit 4031009
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bandersnatch/master.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ def get(self, path, required_serial, **kw):
)

raise StalePage(
"Expected PyPI serial {} for request {} but got {}".format(
"Expected PyPI serial {} for request {} but got {}. "
+ "HTTP PURGE has been issued to the request url".format(
required_serial, path, got_serial
)
)
Expand Down

0 comments on commit 4031009

Please sign in to comment.