Skip to content

Commit

Permalink
Fixed crash for missing file during put
Browse files Browse the repository at this point in the history
git-svn-id: http://s3funnel.googlecode.com/svn/trunk@34 d299a114-3648-0410-bf92-a11f6cf122dc
  • Loading branch information
shazow committed Sep 4, 2008
1 parent 5e8e844 commit 6b2cc3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions s3funnel/jobs.py
Expand Up @@ -73,6 +73,9 @@ def run(self, toolbox):
log.warning("Caught exception: %r.\nRetrying..." % e)
wait = (2 ** wait) / 2.0 # Exponential backoff
time.sleep(wait)
except IOError, e:
log.error("Path does not exist, skipping: %s" % self.path)
return

class DeleteJob(Job):
"Delete the given key from S3."
Expand Down

0 comments on commit 6b2cc3e

Please sign in to comment.