congress/congress/dse2/deepsix2.py
Cao Xuan Hoang c81cd05fc9 Clean imports in code
This patch set modifies lines which are importing objects
instead of modules. As per open-stack import guide lines, user should
import modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I5271d5d3b5ee0242a80c4d37a9297b910350796d
2016-08-26 11:15:54 +07:00

37 lines
1.1 KiB
Python

# Copyright 2016 Styra, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
from oslo_log import log as logging
from congress.dse2 import data_service
LOG = logging.getLogger(__name__)
class deepSix(data_service.DataService):
"""A placeholder while we transition to the new arch."""
def __init__(self, name, keys, inbox=None, dataPath=None):
data_service.DataService.__init__(self, name)
self.name = name
def log_info(self, msg, *args):
LOG.info(msg, *args)
def log(self, msg, *args):
LOG.debug(msg, *args)