Make bug #196 to show up with Python 2
This commit is contained in:
@@ -25,13 +25,15 @@
|
|||||||
# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
from .version import __version__
|
# Import from the future
|
||||||
|
from __future__ import absolute_import
|
||||||
|
|
||||||
# Low level API
|
# Low level API
|
||||||
import _pygit2
|
import _pygit2
|
||||||
from _pygit2 import *
|
from _pygit2 import *
|
||||||
|
|
||||||
# High level API
|
# High level API
|
||||||
|
from .version import __version__
|
||||||
from repository import Repository
|
from repository import Repository
|
||||||
import pygit2.utils
|
import pygit2.utils
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user