summaryrefslogtreecommitdiff
path: root/git/objects/tree.py
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-07 05:56:27 -0600
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-02-08 10:55:50 +0800
commit6aa78cd3b969ede76a1a6e660962e898421d4ed8 (patch)
tree5eb2363fb7d727770da0b00c6a3fc081470cbd06 /git/objects/tree.py
parente633cc009fe3dc8d29503b0d14532dc5e8c44cce (diff)
downloadgitpython-6aa78cd3b969ede76a1a6e660962e898421d4ed8.tar.gz
Remove checks for Python 2 and/or 3
Diffstat (limited to 'git/objects/tree.py')
-rw-r--r--git/objects/tree.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/git/objects/tree.py b/git/objects/tree.py
index d6134e30..90996bfa 100644
--- a/git/objects/tree.py
+++ b/git/objects/tree.py
@@ -18,10 +18,7 @@ from .fun import (
tree_to_stream
)
-from git.compat import PY3
-
-if PY3:
- cmp = lambda a, b: (a > b) - (a < b)
+cmp = lambda a, b: (a > b) - (a < b)
__all__ = ("TreeModifier", "Tree")