Expose RSDLib from top level
Previously, use have to import RSDLib class like "from rsd_lib.main import RSDLib". This patch exposed RSDLib from the top level of this library, use can use it like "import rsd_lib rsdclient = rsd_lib.RSDLib()" Change-Id: I6364a671887485554561b8f2d4976db4fb4beff5
This commit is contained in:
parent
e8bfa3b16b
commit
13b8669b7c
@ -0,0 +1,18 @@
|
||||
# Copyright 2017 Intel, Inc.
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# 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 rsd_lib.main import RSDLib
|
||||
|
||||
__all__ = ('RSDLib',)
|
Loading…
x
Reference in New Issue
Block a user