summaryrefslogtreecommitdiff
path: root/cinder
diff options
context:
space:
mode:
authorEric Harney <eharney@redhat.com>2023-02-27 11:59:05 -0500
committerEric Harney <eharney@redhat.com>2023-03-07 15:56:45 +0000
commit6c0bbe10a9e3e4f7dd1bd87dd8e8f858cda9f9de (patch)
treec336e6a9b1d06cbdc3b292700d082343d1232a74 /cinder
parent5a3664ae2eb642c5e17351baefb0a2daf2b25635 (diff)
downloadcinder-6c0bbe10a9e3e4f7dd1bd87dd8e8f858cda9f9de.tar.gz
Bump mypy to 1.0
mypy 1.0 no longer needs one "type: ignore" comment that we have currently, which must be fixed to resolve an unused-ignore error. Depends-On: Ide07cf7f7c5175026f897e0a1686911c0c93da21 Change-Id: If2e7e94af0725421403ca8bfad0e5fdfd513ab12
Diffstat (limited to 'cinder')
-rw-r--r--cinder/volume/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index 39e3efa5d..ff98c9401 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -555,7 +555,7 @@ class API(base.Base):
if hasattr(e, 'msg'):
# ignore type (Exception has no attr "msg") error
msg = _("Unable to delete encryption key for "
- "volume: %s") % (e.msg) # type: ignore
+ "volume: %s") % (e.msg)
else:
msg = _("Unable to delete encryption key for volume.")
LOG.error(msg)