Fixed code smells having rule 'Nested blocks of code should not be left empty'.

This commit is contained in:
Khushboo Vashi
2020-06-26 13:18:27 +05:30
committed by Akshay Joshi
parent 707ff450b5
commit c7a16a4bd5
9 changed files with 25 additions and 38 deletions

View File

@@ -107,7 +107,5 @@ class BaseFeatureTest(BaseTestGenerator):
try:
os.mkdir(path)
except OSError as e:
if e.errno == errno.EEXIST:
pass
else:
if e.errno != errno.EEXIST:
raise