Skip to content

Commit

Permalink
descriptionsame: remove print
Browse files Browse the repository at this point in the history
Signed-off-by: Konrad Weihmann <[email protected]>
  • Loading branch information
priv-kweihmann committed Apr 26, 2024
1 parent 3fdf42c commit 48fab5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion oelint_adv/rule_base/rule_var_descriptionsame.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def check(self, _file: str, stash: Stash) -> List[Tuple[str, int, str]]:
summary = ''.join(stash.ExpandVar(_file, attribute=Variable.ATTR_VAR, attributeValue='SUMMARY').get('SUMMARY', ['']))
desc = ''.join(stash.ExpandVar(_file, attribute=Variable.ATTR_VAR,
attributeValue='DESCRIPTION').get('DESCRIPTION', ['']))
print(f'{desc} -- {summary}')
items: List[Variable] = stash.GetItemsFor(filename=_file, classifier=Variable.CLASSIFIER,
attribute=Variable.ATTR_VAR, attributeValue='DESCRIPTION')
if desc.strip() == summary.strip() and items:
Expand Down

0 comments on commit 48fab5c

Please sign in to comment.