[libgit2-glib] Depend on python 3.2.3



commit bbfa917a1beb9eac3df7f1c34db47f588ca27b4e
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Oct 30 14:12:42 2012 +0100

    Depend on python 3.2.3

 configure.ac         |    2 +-
 libgit2-glib/Ggit.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f3d5768..08ea754 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@ AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip])
 AM_MAINTAINER_MODE([enable])
 
 AM_SILENT_RULES([yes])
-AM_PATH_PYTHON
+AM_PATH_PYTHON(3.2.3)
 
 # Initialize libtool
 LT_PREREQ([2.2])
diff --git a/libgit2-glib/Ggit.py b/libgit2-glib/Ggit.py
index 1dce0d5..6ce9410 100644
--- a/libgit2-glib/Ggit.py
+++ b/libgit2-glib/Ggit.py
@@ -18,7 +18,7 @@ def _wrap_to_string(self):
     return "<%s.%s at %s: %s>" % (mod, b.__name__, hex(id(self)), self.to_string())
 
 def _wrap_iter(self):
-    for i in xrange(0, self.size()):
+    for i in range(0, self.size()):
         yield self.get(i)
 
 def _wrap_initable_init(self, *args, **kwargs):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]