Skip to content

Commit

Permalink
corrections for make lint cli error added #12
Browse files Browse the repository at this point in the history
  • Loading branch information
mugdhadhole1 committed Aug 7, 2024
1 parent 854d728 commit 1f93d2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions trlc/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -3094,10 +3094,10 @@ def iter_record_objects_by_section(self):
if location not in self.trlc_files:
self.trlc_files.append(location)
yield location
if record_object.section:
object_level = len(record_object.section) - 1
else:
object_level = 0
if record_object.section:
object_level = len(record_object.section) - 1
else:
object_level = 0
if record_object.section:
for level, section in enumerate(record_object.section):
if section not in self.section_names:
Expand Down

0 comments on commit 1f93d2a

Please sign in to comment.