Skip to content

Commit 281edb6

Browse files
Update githooks.py NO_JIRA
1 parent 2280909 commit 281edb6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main/githooks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ def check_content(files):
833833
return retval
834834

835835

836-
def check_commit_msg(message, files, repo):
836+
def check_commit_msg(message, files):
837837
'''Check commit message (and file size).
838838
839839
Abort if file size exceeds hard (github.com) limit.
@@ -946,4 +946,4 @@ def commit_msg_hook():
946946
print(' Check commit message ...')
947947
retval += check_commit_msg(commit_message, files['M'] + files['A'], get_repo())
948948

949-
return retval
949+
return retval

0 commit comments

Comments
 (0)