Removed duplicated function prepare_service()

The prepare_service() function is defined both in watcher/service.py
and in watcher/common/service.py.

These 2 needed to be merged into a single one
to avoid code duplication.

At the same time, the watcher/service.py only contains this function,
so I removed that file.

Change-Id: I0c935dfcd011bee9597315752dae8668221c53f9
Closes-Bug: #1525842
This commit is contained in:
Gábor Antal
2015-12-15 17:48:40 +01:00
parent 22dd6d42c3
commit f0b58f8c27
3 changed files with 6 additions and 33 deletions

View File

@@ -26,7 +26,7 @@ from oslo_log import log as logging
from watcher._i18n import _
from watcher.api import app as api_app
from watcher import service
from watcher.common import service
LOG = logging.getLogger(__name__)