Skip to content

Commit

Permalink
Update column_defs_lowlevel.py
Browse files Browse the repository at this point in the history
par level should decrease when ')'
  • Loading branch information
SIvaCoHan authored and andialbrecht committed Aug 31, 2024
1 parent e48000a commit a2c7e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/column_defs_lowlevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def extract_definitions(token_list):
if par_level == 0:
break
else:
par_level += 1
par_level -= 1
elif token.match(sqlparse.tokens.Punctuation, ','):
if tmp:
definitions.append(tmp)
Expand Down

0 comments on commit a2c7e64

Please sign in to comment.