summaryrefslogtreecommitdiff
path: root/nova/volume
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2019-04-10 10:02:03 +0100
committerStephen Finucane <sfinucan@redhat.com>2019-04-12 16:23:49 +0100
commit3e65f778bdb51e2cf0693f4e9b1b4539ea5c294c (patch)
treed1ae560a80cb0eb05eeab396b0eef710aa2250fb /nova/volume
parente18b79ef878795d8445fb7c85202a6f51f125948 (diff)
downloadnova-3e65f778bdb51e2cf0693f4e9b1b4539ea5c294c.tar.gz
Bump to hacking 1.1.0
This brings in a couple of new checks which must be addressed, many of which involve a rather large amount of changes, so these are ignored for now. A series of follow-up changes will resolved these. 'pycodestyle' is added as a dependency rather than it being pulled in transitively. This is necessary since we're using it in tests. Change-Id: I35c654bd39f343417e0a1124263ff31dcd0b05c9 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'nova/volume')
-rw-r--r--nova/volume/cinder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/volume/cinder.py b/nova/volume/cinder.py
index a17e5445c3..f8f1f9fad2 100644
--- a/nova/volume/cinder.py
+++ b/nova/volume/cinder.py
@@ -424,7 +424,8 @@ def translate_volume_exception(method):
def translate_attachment_exception(method):
- """Transforms the exception for the attachment but keeps its traceback intact.
+ """Transforms the exception for the attachment but keeps its traceback
+ intact.
"""
def wrapper(self, ctx, attachment_id, *args, **kwargs):
try: