Skip to content

Commit

Permalink
[qa] Updated qa.py openwisp#20
Browse files Browse the repository at this point in the history
  • Loading branch information
ppabcd committed Nov 30, 2018
1 parent 51e68e8 commit 92e8301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openwisp_utils/qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def check_commit_message():
if short_desc_location:
# Get all issues in long description
long_desc_issues = _check_word(message)
if(not _is_array(long_desc_issues)):
if not _is_array(long_desc_issues):
errors.append("No mention issues in the long description")
checked = 0
# Foreach all issues
Expand All @@ -146,7 +146,7 @@ def check_commit_message():
body = "You have errors with commit message: \n"
for e in errors:
body += "- " + e + "\n"
if(len(errors) > 0):
if len(errors) > 0:
raise Exception(body)
else:
print(body)
Expand Down

0 comments on commit 92e8301

Please sign in to comment.