Correctly store the diffs
This commit is contained in:
parent
54b2e3303a
commit
7d3112e440
1 changed files with 2 additions and 2 deletions
|
@ -158,7 +158,7 @@ def run_as_post_receive_hook():
|
|||
if DEBUG:
|
||||
print('List of commits:', new_commits_list)
|
||||
|
||||
exclude_arch = []
|
||||
exclude_arch = {}
|
||||
for commit in new_commits_list:
|
||||
if DEBUG:
|
||||
print('Diff of commit:', commit)
|
||||
|
@ -166,7 +166,7 @@ def run_as_post_receive_hook():
|
|||
if DEBUG:
|
||||
print(line)
|
||||
if line.strip().startswith(PATTERNS):
|
||||
exclude_arch.append({commit: line.strip()})
|
||||
exclude_arch[commit] = line.strip()
|
||||
if DEBUG:
|
||||
print('Commit %s selected' % commit)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue