summaryrefslogtreecommitdiff
path: root/git/objects
diff options
context:
space:
mode:
Diffstat (limited to 'git/objects')
-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")