mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-12-22 13:42:14 +01:00
Running setup.py under Python 3 gave an import exception.
This commit is contained in:
parent
07f17f3d2e
commit
c0cb2d2801
1 changed files with 6 additions and 1 deletions
|
@ -19,7 +19,12 @@
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import basedir
|
|
||||||
|
try:
|
||||||
|
import basedir
|
||||||
|
except:
|
||||||
|
import gitinspector.basedir as basedir
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
import locale
|
import locale
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in a new issue