summaryrefslogtreecommitdiff
path: root/gitdb/typ.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-11-13 18:31:17 +0100
committerSebastian Thiel <byronimo@gmail.com>2014-11-13 18:31:17 +0100
commit641b64c9f48139cf06774805d32892012fb9b82d (patch)
tree144b400955067f0d4297fb06d2af6c58eac2cfb1 /gitdb/typ.py
parentbf942a913d69eb2079f9e82888aaccf2f6222643 (diff)
downloadgitdb-641b64c9f48139cf06774805d32892012fb9b82d.tar.gz
Now tests work consistently in py2 and 3
It's a nice way of saying that there is still one failing, consistently.
Diffstat (limited to 'gitdb/typ.py')
-rw-r--r--gitdb/typ.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/gitdb/typ.py b/gitdb/typ.py
index edd1f27..bc7ba58 100644
--- a/gitdb/typ.py
+++ b/gitdb/typ.py
@@ -4,9 +4,7 @@
# the New BSD License: http://www.opensource.org/licenses/bsd-license.php
"""Module containing information about types known to the database"""
-from gitdb.utils.encoding import force_bytes
-
-str_blob_type = force_bytes("blob")
-str_commit_type = force_bytes("commit")
-str_tree_type = force_bytes("tree")
-str_tag_type = force_bytes("tag")
+str_blob_type = b'blob'
+str_commit_type = b'commit'
+str_tree_type = b'tree'
+str_tag_type = b'tag'