We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6a8f50 commit 7f33e3eCopy full SHA for 7f33e3e
utils/generate_enums.py
@@ -657,9 +657,9 @@ async def generate_command_enums() -> None:
657
lines.append("")
658
659
# Append ExecutionMode class
660
- command_mode_start = content.find("@unique\nclass ExecutionMode")
661
- if command_mode_start != -1:
662
- lines.append(content[command_mode_start:].rstrip())
+ execution_mode_start = content.find("@unique\nclass ExecutionMode")
+ if execution_mode_start != -1:
+ lines.append(content[execution_mode_start:].rstrip())
663
664
665
# Write to the command.py file
0 commit comments