Skip to content

Commit

Permalink
main: fix grouping of bbappends
Browse files Browse the repository at this point in the history
if not matched to a bb file in before we need to run with the
full versioned included

Closes #521

Signed-off-by: Konrad Weihmann <[email protected]>
  • Loading branch information
priv-kweihmann committed Feb 26, 2024
1 parent f43f97b commit 7e94e05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions oelint_adv/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,7 @@ def group_files(files: Iterable[str]) -> List[List[str]]:
v.add(f)
_match = True
if not _match:
_filename_key = '_'.join(os.path.basename(
_filename).split('_')[:-1]).replace('%', '')
_filename_key = os.path.basename(_filename).replace('%', '')
if _filename_key not in res: # pragma: no cover
res[_filename_key] = set()
res[_filename_key].add(f)
Expand Down

0 comments on commit 7e94e05

Please sign in to comment.