def get_task_module(feature):
try:<EOL><INDENT>importlib.import_module(feature)<EOL><DEDENT>except ImportError:<EOL><INDENT>raise FeatureNotFound(feature)<EOL><DEDENT>tasks_module = None<EOL>try:<EOL><INDENT>tasks_module = importlib.import_module(feature + '<STR_LIT>')<EOL><DEDENT>except ImportError:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>tasks_module = importlib.import_module(feature + '<STR_LIT>')<EOL><DEDENT>except ImportError:<EOL><INDENT>pass<EOL><DEDENT>return tasks_module<EOL>
Return imported task module of feature.

This function first tries to import the feature and raises FeatureNotFound
if that is not possible.
Thereafter, it looks for a submodules called ``apetasks`` and ``tasks`` in that order.
If such a submodule exists, it is imported and returned.

:param feature: name of feature to fet task module for.
:raises: FeatureNotFound if feature_module could not be imported.
:return: imported module containing the ape tasks of feature or None,
            if module cannot be imported.