Cleaned up imports to work with Python2.6 and Python 3.3

This commit is contained in:
Manuel Ebert 2014-01-23 14:33:14 +01:00
parent 40c2bc13b5
commit d35502423a
7 changed files with 19 additions and 27 deletions

View file

@ -7,17 +7,12 @@
license: MIT, see LICENSE for more details.
"""
try:
from . import Journal
from . import util
from . import exporters
from . import install
from . import __version__
except (SystemError, ValueError):
import Journal
import util
import exporters
import install
from __future__ import absolute_import
from . import Journal
from . import util
from . import exporters
from . import install
from . import __version__
import jrnl
import os
import argparse