Skip to content

Commit

Permalink
Update acro_stata_parser.py linting for line 267
Browse files Browse the repository at this point in the history
Signed-off-by: Jim-smith <jim-smith@users.noreply.github.com>
  • Loading branch information
jim-smith authored May 30, 2024
1 parent 62f65e1 commit b19de7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acro/acro_stata_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ def run_output_command(command: str, varlist: list) -> str:
first element of varlist is output affected
rest (if relevant) is string passed to command.
"""
outcome=""
if len(varlist) == 0:
return "syntax error: please pass the name of the output to be changed"

Expand Down

0 comments on commit b19de7c

Please sign in to comment.