Traceback (most recent call last):

 "test.py", line 5, in <module>
c = next(iter(w)).commit

 "C:\Users\Tom\AppData\Local\Programs\Python\Python35-32\lib\site-packages\dulwich\walk.py", line 323, in _next
if self._should_return(entry):

 "C:\Users\Tom\AppData\Local\Programs\Python\Python35-32\lib\site-packages\dulwich\walk.py", line 309, in _should_return
if self._change_matches(change):

 "C:\Users\Tom\AppData\Local\Programs\Python\Python35-32\lib\site-packages\dulwich\walk.py", line 271, in _change_matches
if self._path_matches(new_path):

 "C:\Users\Tom\AppData\Local\Programs\Python\Python35-32\lib\site-packages\dulwich\walk.py", line 259, in _path_matches
if (changed_path.startswith(followed_path) and
TypeError: startswith first arg must be bytes or a tuple of bytes, not str 
Traceback (most recent call last):


 "sentiment.py", line 761, in <module>

f.write(i + '\n')
TypeError: can't concat str to bytes
