From ffe822f5d43af945c6e9221eae0bc97f95760ef8 Mon Sep 17 00:00:00 2001 From: Joakim Soderlund Date: Sat, 23 Sep 2017 23:44:39 +0200 Subject: [PATCH] Flatten tasks module imports --- fimfarchive/tasks/__init__.py | 30 ++++++++++++++++++++++++++++++ tests/test_imports.py | 1 + 2 files changed, 31 insertions(+) create mode 100644 fimfarchive/tasks/__init__.py diff --git a/fimfarchive/tasks/__init__.py b/fimfarchive/tasks/__init__.py new file mode 100644 index 0000000..61e4348 --- /dev/null +++ b/fimfarchive/tasks/__init__.py @@ -0,0 +1,30 @@ +""" +Tasks module. +""" + + +# +# Fimfarchive, preserves stories from Fimfiction. +# Copyright (C) 2015 Joakim Soderlund +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + + +from .update import UpdateTask + + +__all__ = ( + 'UpdateTask', +) diff --git a/tests/test_imports.py b/tests/test_imports.py index 6fb9c01..051b67c 100644 --- a/tests/test_imports.py +++ b/tests/test_imports.py @@ -33,6 +33,7 @@ MODULES = ( 'selectors', 'signals', 'stories', + 'tasks', 'utils', 'writers', )