Skip to content

Commit

Permalink
Do not make separate comment for the change of submitted and updated
Browse files Browse the repository at this point in the history
  • Loading branch information
OrkoHunter committed Feb 10, 2017
1 parent 717a28b commit 9112abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pep8speaks/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def comment_permission_check(data, comment):

text1 = ''.join(BeautifulSoup(markdown(comment)).findAll(text=True))
text2 = ''.join(BeautifulSoup(markdown(last_comment)).findAll(text=True))
if text1 == text2:
if text1 == text2.replace("submitting", "updating"):
PERMITTED_TO_COMMENT = False

## Do not comment on updating if no errors were introduced previously
Expand Down

0 comments on commit 9112abe

Please sign in to comment.