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: ...@@ -34,7 +34,6 @@ rule_settings:
- sum-comprehension - sum-comprehension
- use-join - use-join
- merge-comparisons - merge-comparisons
- merge-else-if-into-elif
rule_types: rule_types:
- refactoring - refactoring
......
...@@ -127,9 +127,8 @@ class LavaTest: ...@@ -127,9 +127,8 @@ class LavaTest:
self.description += line["msg"] + "\n" self.description += line["msg"] + "\n"
else: else:
self.heading = line["msg"] self.heading = line["msg"]
else: elif len(line["msg"]) > 0:
if len(line["msg"]) > 0: self.description += line["msg"] + "\n"
self.description += line["msg"] + "\n"
@property @property
def name(self): 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