Fix for https://github.com/salimfadhley/jenkinsapi/issues/53
authorSanteri Paavolainen <santeri.paavolainen@codento.com>
Tue, 23 Oct 2012 08:19:26 +0000 (11:19 +0300)
committerSanteri Paavolainen <santeri.paavolainen@codento.com>
Tue, 23 Oct 2012 08:43:54 +0000 (11:43 +0300)
commit963af30239b47b4834ea739d3e9687194a977405
tree93fc50befa3131a8754368f2eb0c8fae1b60dd69
parent695c6b1a1d644b87b42ef6275fff8a4fc83116d2
Fix for https://github.com/salimfadhley/jenkinsapi/issues/53

Changed retry_function to return 404s directly, as in that
case we have reached the server, so it is not a network or internal
server error, redirect, proxy failure or anything like that.

Artifact.valid will consider the fingerprint valid if the
fingerprint is not available at server (but it can still exist, so
it cannot be claimed as invalid with certainty).
jenkinsapi/fingerprint.py
jenkinsapi/jenkinsbase.py
jenkinsapi/utils/retry.py