diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-05 17:59:22 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-05 17:59:22 +0100 |
commit | e1060a2a8c90c0730c3541811df8f906dac510a7 (patch) | |
tree | 1c29ef00a756be7e88aeb43cfa847dbf2e6f3079 /git/objects/fun.py | |
parent | 8a308613467a1510f8dac514624abae4e10c0779 (diff) | |
download | gitpython-e1060a2a8c90c0730c3541811df8f906dac510a7.tar.gz |
test_commit works once again
Diffstat (limited to 'git/objects/fun.py')
-rw-r--r-- | git/objects/fun.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git/objects/fun.py b/git/objects/fun.py index f92a4c06..610bdb5c 100644 --- a/git/objects/fun.py +++ b/git/objects/fun.py @@ -2,7 +2,6 @@ from stat import S_ISDIR from git.compat import ( byte_ord, - force_bytes, defenc, xrange, text_type @@ -37,7 +36,7 @@ def tree_to_stream(entries, write): # takes the input literally, which appears to be utf8 on linux. if isinstance(name, text_type): name = name.encode(defenc) - write(b''.join(mode_str, b' ', name, b'\0', binsha)) + write(b''.join((mode_str, b' ', name, b'\0', binsha))) # END for each item def tree_entries_from_data(data): |