Skip to content

Commit

Permalink
qa: add "noqa: C901" for list_logs
Browse files Browse the repository at this point in the history
Eventually this should get refactored, but it seems better to just
silence mccabe for now.
  • Loading branch information
blueyed committed May 28, 2018
1 parent 00d1780 commit d4731de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awslogs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _get_streams_from_pattern(self, group, pattern):
if re.match(reg, stream):
yield stream

def list_logs(self):
def list_logs(self): # noqa: C901
streams = []
if self.log_stream_name != self.ALL_WILDCARD:
streams = list(self._get_streams_from_pattern(self.log_group_name, self.log_stream_name))
Expand Down

0 comments on commit d4731de

Please sign in to comment.