diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-06 15:40:06 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-06 15:40:06 +0100 |
commit | deafa6a0ab837dffb8f78177f7c22d21ac65bf62 (patch) | |
tree | 707d94e2680c4d3fa75a2677f02f8285d6780130 /git/diff.py | |
parent | 278a3713a0a560cbc5b1515c86f8852cd3119e6b (diff) | |
download | gitpython-deafa6a0ab837dffb8f78177f7c22d21ac65bf62.tar.gz |
Fix for mrepo2
Diffstat (limited to 'git/diff.py')
-rw-r--r-- | git/diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/diff.py b/git/diff.py index 611194a8..c5e231b2 100644 --- a/git/diff.py +++ b/git/diff.py @@ -512,7 +512,7 @@ class Diff(object): # R: status letter # 100: score (in case of copy and rename) - assert is_change_type(_change_type[0]) + assert is_change_type(_change_type[0]), "Unexpected _change_type recieved in Diff" change_type: Lit_change_type = _change_type[0] score_str = ''.join(_change_type[1:]) score = int(score_str) if score_str.isdigit() else None |