Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Fix Pylint violations W0301
Browse files Browse the repository at this point in the history
  • Loading branch information
sopel committed Apr 15, 2013
1 parent 07a87d8 commit b818696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botocross/ec2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def expire_snapshots(ec2, volume_ids, backup_set, backup_retention, no_origin_sa
" available, retaining " + str(backup_retention) + "):")
# While snapshots are apparently returned in oldest to youngest order, this isn't documented;
# therefore an explicit sort is performed to ensure this regardless.
num_snapshots = len(snapshots);
num_snapshots = len(snapshots)
for snapshot in sorted(snapshots, key=attrgetter('start_time')):
log.debug(snapshot.start_time)
if num_snapshots <= backup_retention:
Expand Down

0 comments on commit b818696

Please sign in to comment.