Running setup.py under Python 3 gave an import exception.

This commit is contained in:
Adam Waldenberg 2015-10-04 16:05:06 +02:00
parent 07f17f3d2e
commit c0cb2d2801

View file

@ -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