summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>2022-05-06 23:00:20 +0900
committerMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>2022-11-29 00:41:16 +0000
commit99eee7a983a5e4528164812cef51fc7715ef2177 (patch)
tree6674a01900a0066fe761e80f4267f726270b02e9
parentebf2ee631716bed81cde0f3d2109ef46351c6084 (diff)
downloadpython-barbicanclient-stable/wallaby.tar.gz
Fix the import warning of secretsstable/wallaby
openstack command gets the following warning: /usr/lib/python3.6/site-packages/barbicanclient/__init__.py:61: UserWarning: The secrets module is moved to barbicanclient/v1 directory, direct import of barbicanclient.secrets will be deprecated. Please import barbicanclient.v1.secrets instead. To fix that, import secrets from barbicanclient.v1 as the warning indicates. Change-Id: Ib6548cfe30ce407f349cdeebec9a67e22a31bc74 (cherry picked from commit 03c59e832fa3d1e701f9d5f02e3e2687e735b963)
-rw-r--r--barbicanclient/barbican_cli/v1/secrets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/barbicanclient/barbican_cli/v1/secrets.py b/barbicanclient/barbican_cli/v1/secrets.py
index dc9929d..65d94ad 100644
--- a/barbicanclient/barbican_cli/v1/secrets.py
+++ b/barbicanclient/barbican_cli/v1/secrets.py
@@ -19,7 +19,7 @@ from cliff import command
from cliff import lister
from cliff import show
-from barbicanclient import secrets
+from barbicanclient.v1 import secrets
class DeleteSecret(command.Command):