diff options
| author | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-08-22 19:29:45 -0700 |
|---|---|---|
| committer | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-08-22 19:29:45 -0700 |
| commit | a36008a235e31bc24b9d42a3a69b479031f024f9 (patch) | |
| tree | 39fe3c9b45e0e4c085458116ee641af982f1b945 /examples | |
| parent | ae0532678b0fdc859cae021ee135579d875a24a8 (diff) | |
| download | sqlparse-a36008a235e31bc24b9d42a3a69b479031f024f9.tar.gz | |
Unify_naming_schema. Closes #283
Diffstat (limited to 'examples')
| -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': |
