diff options
Diffstat (limited to 'examples/extract_table_names.py')
| -rw-r--r-- | examples/extract_table_names.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/extract_table_names.py b/examples/extract_table_names.py index c1bcf8b..cbd984c 100644 --- a/examples/extract_table_names.py +++ b/examples/extract_table_names.py @@ -18,7 +18,7 @@ from sqlparse.tokens import Keyword, DML def is_subselect(parsed): - if not parsed.is_group(): + if not parsed.is_group: return False for item in parsed.tokens: if item.ttype is DML and item.value.upper() == 'SELECT': |
