From f9d28f16b421699a478554f74b6b3a5895864610 Mon Sep 17 00:00:00 2001 From: Aurelien Lourot Date: Mon, 28 Sep 2020 11:03:33 +0200 Subject: [PATCH] Make linter happy --- zaza/openstack/charm_tests/cinder_backup/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/cinder_backup/tests.py b/zaza/openstack/charm_tests/cinder_backup/tests.py index 1acbf9e..2281cc1 100644 --- a/zaza/openstack/charm_tests/cinder_backup/tests.py +++ b/zaza/openstack/charm_tests/cinder_backup/tests.py @@ -161,7 +161,8 @@ class CinderBackupTest(test_utils.OpenStackBaseTest): try: cinder_vols = [v for v in vols if v.name == cinder_vol_name] except AttributeError: - cinder_vols = [v for v in vols if v.display_name == cinder_vol_name] + cinder_vols = [v for v in vols if + v.display_name == cinder_vol_name] if not cinder_vols: # NOTE(hopem): it appears that at some point cinder-backup stopped # restoring volume metadata properly so revert to default name if