Skip to content

Commit

Permalink
Merge branch 'master' of github.com:robballou/rotatelib
Browse files Browse the repository at this point in the history
  • Loading branch information
robballou committed Nov 11, 2012
2 parents 2947759 + 7b72916 commit cf1e02f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rotatelib.py
Expand Up @@ -432,7 +432,10 @@ def remove_items(directory='./', items=None, db=None, s3bucket=None, ec2snapshot
elif not db and not s3bucket and ec2snapshots:
# EC2 snapshots
for item in items:
item.delete()
try:
item.delete()
except Exception, e:
pass
else:
# Database items
cur = db.cursor()
Expand Down

0 comments on commit cf1e02f

Please sign in to comment.