Fix R1720 pylint error in test_utils

R1720: Unnecessary "else" after "raise" (no-else-raise)

Trivialfix

Change-Id: I7c4a611c5271377d71d6ed31f9a09869ae010135
This commit is contained in:
Brian Haley 2020-08-28 17:23:22 -04:00
parent 945a244588
commit 5a39be9cb8
1 changed files with 1 additions and 2 deletions

View File

@ -162,8 +162,7 @@ class TestExceptionLogger(base.BaseTestCase):
def func(i):
if i == 2:
raise RuntimeError(2)
else:
calls(i)
calls(i)
pool = eventlet.GreenPool(4)
for i in range(0, 4):