From 1de8af907dbced4fde64ee2c7f57527fc43ad1cc Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 4 Jan 2015 16:07:02 +0100 Subject: Removed unnecessary (non-gitpython) tests and fixed flake8 --- git/objects/tree.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'git/objects/tree.py') 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, -- cgit v1.2.1