Skip to content

Commit 6c4e1d0

Browse files
author
Mathieu Bridon
committed
Fix syntax error
1 parent f5765b0 commit 6c4e1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygit2/py2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ def to_str(s):
5454
if type(s) is unicode:
5555
return s.encode()
5656

57-
raise TypeError, 'unexpected type "%s"' % repr(s)
57+
raise TypeError('unexpected type "%s"' % repr(s))

0 commit comments

Comments
 (0)