summaryrefslogtreecommitdiff
path: root/git/diff.py
diff options
context:
space:
mode:
authorJJ Graham <jgraham@indeed.com>2019-10-18 14:49:06 -0500
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-10-19 13:17:16 +0200
commit95897f99551db8d81ca77adec3f44e459899c20b (patch)
treea3a291829e9ca1f77f0f06eaeb5f9d8d2f649d1d /git/diff.py
parent4744efbb68c562adf7b42fc33381d27a463ae07a (diff)
downloadgitpython-95897f99551db8d81ca77adec3f44e459899c20b.tar.gz
Satisfying flake8
Diffstat (limited to 'git/diff.py')
-rw-r--r--git/diff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/diff.py b/git/diff.py
index 80e0be6a..0150d675 100644
--- a/git/diff.py
+++ b/git/diff.py
@@ -258,7 +258,7 @@ class Diff(object):
NULL_BIN_SHA = b"\0" * 20
__slots__ = ("a_blob", "b_blob", "a_mode", "b_mode", "a_rawpath", "b_rawpath",
- "new_file", "deleted_file", "copied_file", "raw_rename_from",
+ "new_file", "deleted_file", "copied_file", "raw_rename_from",
"raw_rename_to", "diff", "change_type", "score")
def __init__(self, repo, a_rawpath, b_rawpath, a_blob_id, b_blob_id, a_mode,
@@ -432,7 +432,7 @@ class Diff(object):
a_path, b_path = header.groups()
new_file, deleted_file, copied_file = \
- bool(new_file_mode), bool(deleted_file_mode), bool(copied_file_name)
+ bool(new_file_mode), bool(deleted_file_mode), bool(copied_file_name)
a_path = cls._pick_best_path(a_path, rename_from, a_path_fallback)
b_path = cls._pick_best_path(b_path, rename_to, b_path_fallback)