Skip to content

Commit

Permalink
cloudwatch: eliminate 'else' before return in _to_status
Browse files Browse the repository at this point in the history
  • Loading branch information
coopernurse committed Jun 12, 2016
1 parent 3019dc6 commit a285ae4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kappa/event_source/cloudwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,4 @@ def _to_status(self, rule):
'EventSourceArn': rule['Arn'],
'State': rule['State']
}
else:
return None
return None

0 comments on commit a285ae4

Please sign in to comment.