python-openstackclient 6.6.0__py3-none-any.whl → 6.6.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openstackclient/api/api.py +3 -4
- {python_openstackclient-6.6.0.dist-info → python_openstackclient-6.6.1.dist-info}/METADATA +2 -1
- {python_openstackclient-6.6.0.dist-info → python_openstackclient-6.6.1.dist-info}/RECORD +9 -9
- python_openstackclient-6.6.1.dist-info/pbr.json +1 -0
- python_openstackclient-6.6.0.dist-info/pbr.json +0 -1
- {python_openstackclient-6.6.0.dist-info → python_openstackclient-6.6.1.dist-info}/AUTHORS +0 -0
- {python_openstackclient-6.6.0.dist-info → python_openstackclient-6.6.1.dist-info}/LICENSE +0 -0
- {python_openstackclient-6.6.0.dist-info → python_openstackclient-6.6.1.dist-info}/WHEEL +0 -0
- {python_openstackclient-6.6.0.dist-info → python_openstackclient-6.6.1.dist-info}/entry_points.txt +0 -0
- {python_openstackclient-6.6.0.dist-info → python_openstackclient-6.6.1.dist-info}/top_level.txt +0 -0
openstackclient/api/api.py
CHANGED
|
@@ -12,11 +12,10 @@
|
|
|
12
12
|
#
|
|
13
13
|
|
|
14
14
|
"""Base API Library"""
|
|
15
|
-
|
|
16
15
|
from keystoneauth1 import exceptions as ks_exceptions
|
|
17
16
|
from keystoneauth1 import session as ks_session
|
|
18
17
|
from osc_lib import exceptions
|
|
19
|
-
import
|
|
18
|
+
import requests
|
|
20
19
|
|
|
21
20
|
from openstackclient.i18n import _
|
|
22
21
|
|
|
@@ -118,7 +117,7 @@ class BaseAPI(KeystoneSession):
|
|
|
118
117
|
# Should this move into _requests()?
|
|
119
118
|
try:
|
|
120
119
|
return ret.json()
|
|
121
|
-
except
|
|
120
|
+
except requests.JSONDecodeError:
|
|
122
121
|
return ret
|
|
123
122
|
|
|
124
123
|
def delete(self, url, session=None, **params):
|
|
@@ -169,7 +168,7 @@ class BaseAPI(KeystoneSession):
|
|
|
169
168
|
)
|
|
170
169
|
try:
|
|
171
170
|
return ret.json()
|
|
172
|
-
except
|
|
171
|
+
except requests.JSONDecodeError:
|
|
173
172
|
return ret
|
|
174
173
|
|
|
175
174
|
# Layered actions built on top of the basic action methods do not
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-openstackclient
|
|
3
|
-
Version: 6.6.
|
|
3
|
+
Version: 6.6.1
|
|
4
4
|
Summary: OpenStack Command-line Client
|
|
5
5
|
Home-page: https://docs.openstack.org/python-openstackclient/latest/
|
|
6
6
|
Author: OpenStack
|
|
@@ -29,6 +29,7 @@ Requires-Dist: pbr (!=2.1.0,>=2.0.0)
|
|
|
29
29
|
Requires-Dist: python-cinderclient (>=3.3.0)
|
|
30
30
|
Requires-Dist: python-keystoneclient (>=3.22.0)
|
|
31
31
|
Requires-Dist: python-novaclient (>=18.1.0)
|
|
32
|
+
Requires-Dist: requests (>=2.14.2)
|
|
32
33
|
Requires-Dist: stevedore (>=2.0.1)
|
|
33
34
|
|
|
34
35
|
========================
|
|
@@ -2,7 +2,7 @@ openstackclient/__init__.py,sha256=80udUgNTRDOEPgCARVgk6BCV0sXWpg1VP9N408GVXiA,7
|
|
|
2
2
|
openstackclient/i18n.py,sha256=daSSioNcZ4XxHuw22wSyf6WSz_g8D1tf6d36ghvO6Bw,791
|
|
3
3
|
openstackclient/shell.py,sha256=BYqdTgiq6VVHiPSc1uT0i00-iWGoh0zsfY1Xm7Q1D6E,5695
|
|
4
4
|
openstackclient/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
openstackclient/api/api.py,sha256=
|
|
5
|
+
openstackclient/api/api.py,sha256=CuzS6UfP-PktA3Za3KGGrSHZH7S9iKmraJVftN67B4Q,9759
|
|
6
6
|
openstackclient/api/compute_v2.py,sha256=yFBy3lCrirNIpmmck0Pgwsrb1PEKZoZQSibZ3V0u3cw,16261
|
|
7
7
|
openstackclient/api/image_v1.py,sha256=7uirFcJzDWeTXIeW41tgkwAmLM5plwIb12AUMXOnDzE,2595
|
|
8
8
|
openstackclient/api/image_v2.py,sha256=GSM09toS6rcLzbtyhKl_FvQ7UeWJ3EcvSNBdVIk9ryA,2602
|
|
@@ -479,11 +479,11 @@ openstackclient/volume/v3/volume_group.py,sha256=OQ8ToL0SCCnOFfyOgx-bFNt2N0ZNCkR
|
|
|
479
479
|
openstackclient/volume/v3/volume_group_snapshot.py,sha256=sm7B3MSiNYw4eCzoZv8Ko4Y0q_TZ0wVEpqdVblLswEY,6916
|
|
480
480
|
openstackclient/volume/v3/volume_group_type.py,sha256=ZDQ_MF7CTLj67TvL0rbjo3JVtKdt1czL9jD-nJS1y40,12508
|
|
481
481
|
openstackclient/volume/v3/volume_message.py,sha256=V-9EKmZESCRDZ4mbXihwOTUTYKk5SZZwri_H2GSBn0s,4937
|
|
482
|
-
python_openstackclient-6.6.
|
|
483
|
-
python_openstackclient-6.6.
|
|
484
|
-
python_openstackclient-6.6.
|
|
485
|
-
python_openstackclient-6.6.
|
|
486
|
-
python_openstackclient-6.6.
|
|
487
|
-
python_openstackclient-6.6.
|
|
488
|
-
python_openstackclient-6.6.
|
|
489
|
-
python_openstackclient-6.6.
|
|
482
|
+
python_openstackclient-6.6.1.dist-info/AUTHORS,sha256=gc7kKvi86ykx3MAS_xdxf7veisBYJ2gLp0dhXOko0jg,21117
|
|
483
|
+
python_openstackclient-6.6.1.dist-info/LICENSE,sha256=XfKg2H1sVi8OoRxoisUlMqoo10TKvHmU_wU39ks7MyA,10143
|
|
484
|
+
python_openstackclient-6.6.1.dist-info/METADATA,sha256=htv1P2lmHoIw1UTgI2pUyIih2YYvS-FH80_D-JhYiWY,6574
|
|
485
|
+
python_openstackclient-6.6.1.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
486
|
+
python_openstackclient-6.6.1.dist-info/entry_points.txt,sha256=eT2sSGcTdC--3CWRz5UV0VMG9wKlR_tCaC7CPN6QPjM,52569
|
|
487
|
+
python_openstackclient-6.6.1.dist-info/pbr.json,sha256=rLJ-sQOAfFOi2iEbcEnDjxBX6y5ruv5Y15Yb5nNJrYk,47
|
|
488
|
+
python_openstackclient-6.6.1.dist-info/top_level.txt,sha256=htg7z9oZgysRuVUHn-m1Bk6XLGOeV65nMbZX9H8qhs0,16
|
|
489
|
+
python_openstackclient-6.6.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "685b7506", "is_release": true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "2f9a5237", "is_release": true}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_openstackclient-6.6.0.dist-info → python_openstackclient-6.6.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{python_openstackclient-6.6.0.dist-info → python_openstackclient-6.6.1.dist-info}/top_level.txt
RENAMED
|
File without changes
|