24 lines
635 B
Diff
24 lines
635 B
Diff
From 309a844793a56a7a71f075e841faa75d5b17a192 Mon Sep 17 00:00:00 2001
|
|
From: Mathieu Bridon <bochecha@fedoraproject.org>
|
|
Date: Tue, 12 Aug 2014 11:24:03 +0200
|
|
Subject: [PATCH] Fix syntax error
|
|
|
|
https://github.com/libgit2/pygit2/pull/401
|
|
---
|
|
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))
|
|
--
|
|
1.9.3
|
|
|