diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-06-02 16:55:24 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-06-02 16:55:24 +0000 |
| commit | dff006c3f686c63c4197b5ce66261f448e0580db (patch) | |
| tree | ec717a7b9f76990f03812b2a90ab42408c2b4708 /examples | |
| parent | c02b816a74ec1f7442f71c6c289b33248352e86f (diff) | |
| parent | a05cbf4c998678a3619d82dd49be2b7759373d60 (diff) | |
| download | python-openstackclient-dff006c3f686c63c4197b5ce66261f448e0580db.tar.gz | |
Merge "Rework shell tests"
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/object_api.py | 4 | ||||
| -rwxr-xr-x | examples/osc-lib.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/object_api.py b/examples/object_api.py index 441013ca..11b62da7 100755 --- a/examples/object_api.py +++ b/examples/object_api.py @@ -52,8 +52,8 @@ def run(opts): # NOTE(dtroyer): This converts from the usual OpenStack way to the single # requests argument and is an app-specific thing because # we want to be like OpenStackClient. - if opts.os_cacert: - verify = opts.os_cacert + if opts.cacert: + verify = opts.cacert else: verify = not opts.insecure diff --git a/examples/osc-lib.py b/examples/osc-lib.py index 84501903..abaa1871 100755 --- a/examples/osc-lib.py +++ b/examples/osc-lib.py @@ -62,8 +62,8 @@ def run(opts): # NOTE(dtroyer): This converts from the usual OpenStack way to the single # requests argument and is an app-specific thing because # we want to be like OpenStackClient. - if opts.os_cacert: - verify = opts.os_cacert + if opts.cacert: + verify = opts.cacert else: verify = not opts.insecure |
