# Path: recovery/elliptics_recovery/utils/misc.py
# def logged_class(klass):
#     """
#     This decorator adds 'log' method to passed class
#     """
#     klass.log = log.getLogger(klass.__name__)
#     return klass


from .utils.misc import logged_class
from elliptics.route import RouteList
# =============================================================================
# 2013+ Copyright (c) Alexey Ivanov <rbtz@ph34r.me>
# 2013+ Copyright (c) Kirill Smorodinnikov <shaitkir@gmail.com>
# All rights reserved.
#
# 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 2 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.
# =============================================================================

"""
Route management routines

Vanilla elliptics python bindings are too C'ish.
We need better abstractions.
"""




# Path: recovery/elliptics_recovery/utils/misc.py
# def logged_class(klass):
#     """
#     This decorator adds 'log' method to passed class
#     """
#     klass.log = log.getLogger(klass.__name__)
#     return klass


# Path: recovery/elliptics_recovery/route.py
from .utils.misc import logged_class
from elliptics.route import RouteList

# =============================================================================
# 2013+ Copyright (c) Alexey Ivanov <rbtz@ph34r.me>
# 2013+ Copyright (c) Kirill Smorodinnikov <shaitkir@gmail.com>
# All rights reserved.
#
# 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 2 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.
# =============================================================================

"""
Route management routines

Vanilla elliptics python bindings are too C'ish.
We need better abstractions.
"""




@logged_class