Skip to content

Commit

Permalink
equery: reformat with black
Browse files Browse the repository at this point in the history
Fixes: 637bfbf
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Aug 5, 2023
1 parent 637bfbf commit 9fbd05c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pym/gentoolkit/equery/list_.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,16 @@ def main(input_args):
)

if QUERY_OPTS["in_porttree"] and not QUERY_OPTS["in_overlay"]:
if not ("P" in pkgstr.location or (QUERY_OPTS['in_installed'] and 'I' in pkgstr.location)):
if not (
"P" in pkgstr.location
or (QUERY_OPTS["in_installed"] and "I" in pkgstr.location)
):
continue
if QUERY_OPTS["in_overlay"] and not QUERY_OPTS["in_porttree"]:
if not ("O" in pkgstr.location or (QUERY_OPTS['in_installed'] and 'I' in pkgstr.location)):
if not (
"O" in pkgstr.location
or (QUERY_OPTS["in_installed"] and "I" in pkgstr.location)
):
continue
pp.uprint(pkgstr)

Expand Down

0 comments on commit 9fbd05c

Please sign in to comment.