summaryrefslogtreecommitdiff
path: root/gitdb/stream.py
diff options
context:
space:
mode:
authorKevin Brown <kevin@kevinbrown.in>2014-07-21 20:38:17 -0400
committerKevin Brown <kevin@kevinbrown.in>2014-07-21 20:38:17 -0400
commitc63dcacbfa996b1d0d81d50c359fa37e4906cfb1 (patch)
treebc7a12e5ebb56f8a4ae5c13f49f98d52df5c121e /gitdb/stream.py
parentecdae96cdb8bbde322f59fd119dab302e7797c18 (diff)
downloadgitdb-c63dcacbfa996b1d0d81d50c359fa37e4906cfb1.tar.gz
Convert types to bytes
This makes it easier to deal with things internally as now everything is passed as bytes.
Diffstat (limited to 'gitdb/stream.py')
-rw-r--r--gitdb/stream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitdb/stream.py b/gitdb/stream.py
index 9e49f50..5dd38ec 100644
--- a/gitdb/stream.py
+++ b/gitdb/stream.py
@@ -29,7 +29,7 @@ from gitdb.util import (
from gitdb.const import NULL_BYTE
from gitdb.utils.compat import buffer
-from gitdb.utils.encoding import force_bytes, force_text
+from gitdb.utils.encoding import force_bytes
has_perf_mod = False
try:
@@ -117,7 +117,7 @@ class DecompressMemMapReader(LazyMixin):
self._phi = True
- return force_text(typ), size
+ return typ, size
#{ Interface