And one more typo to fix...
This commit is contained in:
parent
70b6f99698
commit
dff13eade9
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ def build_stats(commit):
|
|||
if hasattr(patch, 'new_file_path'):
|
||||
path = patch.new_file_path
|
||||
else:
|
||||
path = patch.delta.new_file_path
|
||||
path = patch.delta.new_file.path
|
||||
|
||||
if hasattr(patch, 'additions'):
|
||||
files[path]['additions'] += patch.additions
|
||||
|
|
|
@ -56,7 +56,7 @@ def build_stats(commit):
|
|||
if hasattr(patch, 'new_file_path'):
|
||||
path = patch.new_file_path
|
||||
else:
|
||||
path = patch.delta.new_file_path
|
||||
path = patch.delta.new_file.path
|
||||
|
||||
if hasattr(patch, 'additions'):
|
||||
files[path]['additions'] += patch.additions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue