Skip to content
Snippets Groups Projects
Commit ac38b4fb authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Refactoring: merge else if into elif

parent 9406ad75
No related branches found
No related tags found
1 merge request!281Refactoring: merge else if into elif
Pipeline #72112 skipped with stage
......@@ -34,7 +34,6 @@ rule_settings:
- sum-comprehension
- use-join
- merge-comparisons
- merge-else-if-into-elif
rule_types:
- refactoring
......
......@@ -127,9 +127,8 @@ class LavaTest:
self.description += line["msg"] + "\n"
else:
self.heading = line["msg"]
else:
if len(line["msg"]) > 0:
self.description += line["msg"] + "\n"
elif len(line["msg"]) > 0:
self.description += line["msg"] + "\n"
@property
def name(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment