From 4abd370ea8dc6aee34f0eeddef8a09c598b4b3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20David=20Ib=C3=A1=C3=B1ez?= Date: Wed, 13 Mar 2013 14:36:40 +0100 Subject: [PATCH] Make bug #196 to show up with Python 2 --- pygit2/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pygit2/__init__.py b/pygit2/__init__.py index 09aa858..056f8b2 100644 --- a/pygit2/__init__.py +++ b/pygit2/__init__.py @@ -25,13 +25,15 @@ # the Free Software Foundation, 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301, USA. -from .version import __version__ +# Import from the future +from __future__ import absolute_import # Low level API import _pygit2 from _pygit2 import * # High level API +from .version import __version__ from repository import Repository import pygit2.utils