summaryrefslogtreecommitdiff
path: root/git/objects/tree.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-04 16:07:02 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-04 16:07:02 +0100
commit1de8af907dbced4fde64ee2c7f57527fc43ad1cc (patch)
treeed6622f4694d8e17633b3de6942b778dc2911bfd /git/objects/tree.py
parent6f55c17f48d7608072199496fbcefa33f2e97bf0 (diff)
downloadgitpython-1de8af907dbced4fde64ee2c7f57527fc43ad1cc.tar.gz
Removed unnecessary (non-gitpython) tests and fixed flake80.3.3
Diffstat (limited to 'git/objects/tree.py')
-rw-r--r--git/objects/tree.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/git/objects/tree.py b/git/objects/tree.py
index beb5f1fd..c77e6056 100644
--- a/git/objects/tree.py
+++ b/git/objects/tree.py
@@ -119,10 +119,10 @@ class Tree(IndexObject, diff.Diffable, util.Traversable, util.Serializable):
__slots__ = "_cache"
# actual integer ids for comparison
- commit_id = 016 # equals stat.S_IFDIR | stat.S_IFLNK - a directory link
- blob_id = 010
- symlink_id = 012
- tree_id = 004
+ commit_id = 0o16 # equals stat.S_IFDIR | stat.S_IFLNK - a directory link
+ blob_id = 0o10
+ symlink_id = 0o12
+ tree_id = 0o04
_map_id_to_type = {
commit_id: Submodule,