diff options
| author | Steve Martinelli <s.martinelli@gmail.com> | 2016-11-10 10:00:24 -0500 |
|---|---|---|
| committer | Steve Martinelli <s.martinelli@gmail.com> | 2016-11-10 10:02:08 -0500 |
| commit | eed19c835fc5706099ce2cee872fc66d99836cf8 (patch) | |
| tree | c529014e6b3c472c63ea0e76b69e8cb28bcdc5ef /troveclient/common.py | |
| parent | c4d9ebb66d28fa6ab4ac0ece3803184108893e94 (diff) | |
| download | python-troveclient-eed19c835fc5706099ce2cee872fc66d99836cf8.tar.gz | |
move old apiclient code out of openstack/common
As part of the first community-wide goal [1], teams were asked
to remove the openstack/common package of their projects
if one existed. This was a byproduct of the old oslo-incubator
form of syncing common functionality.
The package, apiclient, was moved to a top level location
and cliutils was moved to the common module. There are no oslo
specific libraries, the recommended solution is to move it
in tree and maintain it there.
Specifically in this patch, I also rearranged some of the
imports to make them match up with the hacking guidelines
while I was re-ordering them for the refactor anyway.
Lastly, the apiclient/fake_client.py was deleted since it
was not used.
[1] http://governance.openstack.org/goals/ocata/remove-incubated-oslo-code.html
Change-Id: Ib7b691240b819c9c91b100ca47ffaba75b281c78
Diffstat (limited to 'troveclient/common.py')
| -rw-r--r-- | troveclient/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/troveclient/common.py b/troveclient/common.py index dc7a94a..9c99b53 100644 --- a/troveclient/common.py +++ b/troveclient/common.py @@ -13,9 +13,10 @@ # 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 six.moves.urllib import parse -from troveclient.openstack.common.apiclient import exceptions +from troveclient.apiclient import exceptions def check_for_exceptions(resp, body, url): |
