Merge "pylint: ibm_storage: Fix E0601 used-before-assignment error"

This commit is contained in:
Zuul 2022-06-14 16:59:07 +00:00 committed by Gerrit Code Review
commit 740baa6fb8

View File

@ -562,8 +562,9 @@ class DS8KCommonHelper(object):
invalid_states += ('suspended',)
elif state == 'suspended':
invalid_states += ('valid',)
finished = False
try:
finished = False
while True:
eventlet.sleep(2)
pairs = self.get_pprc_pairs(min_vol_id, max_vol_id)