Skip to content

Commit

Permalink
Fix missing space.
Browse files Browse the repository at this point in the history
  • Loading branch information
CensoredUsername committed Feb 22, 2024
1 parent 1f62402 commit e3fe604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion decompiler/atldecompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def print_block(self, block):
self.indent()
self.write("pass")

def advance_to_block(self, block):
def advance_to_block(self, block):
# note: the location property of a RawBlock points to the first line of the block,
# not the statement that created it.
# it can also contain the following nonsense if there was no block for some reason.
Expand Down
2 changes: 1 addition & 1 deletion decompiler/sl2decompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ def sort_keywords_and_children(self, node, immediate_block=False, ignore_childre
contents_grouped.insert(0, (block_lineno + 1, "keywords", [("as", keyword_as)]))

# we can also put it on the start line if that one is available
elif contents_grouped[0][0] > start_line:
elif contents_grouped[0][0] > start_lineno:
contents_grouped.insert(0, (start_lineno, "keywords", [("as", keyword_as)]))

else:
Expand Down

0 comments on commit e3fe604

Please sign in to comment.