oslo.messaging/oslo/messaging/rpc/__init__.py
Victor Stinner 2aaad74bac Fix syntax of relative imports for Python3
In Python 3, relative imports must be written "from .module import name":
http://docs.python.org/3.0/whatsnew/3.0.html#removed-syntax

Change-Id: I2ec8a7330e63ea64d291f2f37f0c01cdf765d4f7
2013-12-16 10:56:07 +01:00

33 lines
944 B
Python

# Copyright 2013 Red Hat, 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.
__all__ = [
'ClientSendError',
'ExpectedException',
'NoSuchMethod',
'RPCClient',
'RPCDispatcher',
'RPCDispatcherError',
'RPCVersionCapError',
'RemoteError',
'UnsupportedVersion',
'expected_exceptions',
'get_rpc_server',
]
from .client import *
from .dispatcher import *
from .server import *