Skip to content

Commit a2c7e64

Browse files
SIvaCoHanandialbrecht
authored andcommitted
Update column_defs_lowlevel.py
par level should decrease when ')'
1 parent e48000a commit a2c7e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/column_defs_lowlevel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def extract_definitions(token_list):
2727
if par_level == 0:
2828
break
2929
else:
30-
par_level += 1
30+
par_level -= 1
3131
elif token.match(sqlparse.tokens.Punctuation, ','):
3232
if tmp:
3333
definitions.append(tmp)

0 commit comments

Comments
 (0)