Skip to content

Commit

Permalink
Merge pull request #305 from Timmmm/bool_simplification
Browse files Browse the repository at this point in the history
Minor simplification of Python boolean
  • Loading branch information
aswaterman authored Oct 28, 2024
2 parents 238c183 + 27fa19b commit aa56879
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
extensions = [ext for ext in extensions if ext not in targets]
print(f"Extensions selected : {extensions}")

include_pseudo = False
if "-pseudo" in sys.argv[1:]:
include_pseudo = True
include_pseudo = "-pseudo" in sys.argv[1:]

instr_dict = create_inst_dict(extensions, include_pseudo)

Expand Down

0 comments on commit aa56879

Please sign in to comment.