Skip to content

Commit

Permalink
Fix install issue, defer imports
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe committed Mar 13, 2017
1 parent 3860d82 commit 40ee909
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pytest_translations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
from __future__ import (absolute_import, division, print_function,
unicode_literals)

from .mo_files import MoFileItem
from .po_files import PoFile

__version__ = '1.0.3'
__version__ = '1.0.4'


def pytest_addoption(parser):
Expand All @@ -18,6 +16,8 @@ def pytest_addoption(parser):


def pytest_collect_file(path, parent):
from .mo_files import MoFileItem
from .po_files import PoFile
config = parent.config
if config.option.translations:
if path.ext == '.mo':
Expand Down

0 comments on commit 40ee909

Please sign in to comment.