From 6c4e1d093befb37172724a1fb57f101e9d2376bb Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Tue, 12 Aug 2014 11:25:17 +0200 Subject: [PATCH] Fix syntax error --- pygit2/py2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygit2/py2.py b/pygit2/py2.py index 3c57fba..a2d2359 100644 --- a/pygit2/py2.py +++ b/pygit2/py2.py @@ -54,4 +54,4 @@ def to_str(s): if type(s) is unicode: return s.encode() - raise TypeError, 'unexpected type "%s"' % repr(s) + raise TypeError('unexpected type "%s"' % repr(s))