Skip to content

Commit

Permalink
fix typo skiped -> skipped, indeces -> indices
Browse files Browse the repository at this point in the history
fix typo skiped -> skipped, indeces -> indices
  • Loading branch information
jianliao82 committed Feb 9, 2018
1 parent 4c30b2d commit ab489cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gubernator/github/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def get_skip_comments(events, skip_users=None):
events: a list of (event_type str, event_body dict, timestamp).
Returns:
comment_ids: a set of comment ids that were deleted or made by
users that should be skiped.
users that should be skipped.
"""
skip_users = skip_users or []
skip_comments = set()
Expand Down
4 changes: 2 additions & 2 deletions gubernator/kubelet_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

def parse(lines, highlight_words, filters, objref_dict):
"""
Given filters returns indeces of wanted lines from log
Given filters returns indices of wanted lines from log
Args:
lines: array of log lines
Expand All @@ -31,7 +31,7 @@ def parse(lines, highlight_words, filters, objref_dict):
objref_dict: a dictionary where the keys are possible filters
and the values are the words to be highlighted
Returns:
matched_lines: ordered array of indeces of lines to display
matched_lines: ordered array of indices of lines to display
highlight_words: updated highlight_words
"""
matched_lines = []
Expand Down

0 comments on commit ab489cb

Please sign in to comment.