Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to Python3 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/aoikimportutil/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf-8
from __future__ import absolute_import ## require Python 2.5+
## require Python 2.5+
from aoikimportutil.aoikimportutil import *
from aoikimportutil.aoikimportutil import __version__
4 changes: 4 additions & 0 deletions src/aoikimportutil/__init__.py.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# coding: utf-8
from __future__ import absolute_import ## require Python 2.5+
from aoikimportutil.aoikimportutil import *
from aoikimportutil.aoikimportutil import __version__
4 changes: 2 additions & 2 deletions src/aoikimportutil/aoikimportutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
File ID: 3ngd7IH
"""
from __future__ import absolute_import


import imp
import os.path
Expand All @@ -12,7 +12,7 @@
try:
from urllib.request import urlopen ## Py3
except ImportError:
from urllib2 import urlopen ## Py2
from urllib.request import urlopen ## Py2

#/
__version__ = '0.2.3'
Expand Down
Loading