From 30c39b60ae8289d0b974a4ebb767318773319867 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 5 Sep 2016 23:17:42 +0300 Subject: [PATCH] Remove processing from demo scripts --- demo/group-file.py | 2 -- demo/group-sql.py | 2 -- demo/parse-file.py | 2 -- demo/parse-sql.py | 2 -- 4 files changed, 8 deletions(-) diff --git a/demo/group-file.py b/demo/group-file.py index 8d00507..87df331 100755 --- a/demo/group-file.py +++ b/demo/group-file.py @@ -3,7 +3,6 @@ from __future__ import print_function import sys from sqlconvert.print_tokens import print_tokens -from sqlconvert.process_mysql import process_statement from sqlconvert.process_tokens import find_error, StatementGrouper @@ -17,7 +16,6 @@ def main(filename): print("----------") if find_error(statement): print("ERRORS IN QUERY") - process_statement(statement) print_tokens(statement, encoding='utf-8') print() statement._pprint_tree() diff --git a/demo/group-sql.py b/demo/group-sql.py index 101ab4a..11f1f8c 100755 --- a/demo/group-sql.py +++ b/demo/group-sql.py @@ -3,7 +3,6 @@ from __future__ import print_function import sys from sqlconvert.print_tokens import print_tokens -from sqlconvert.process_mysql import process_statement from sqlconvert.process_tokens import find_error, StatementGrouper @@ -16,7 +15,6 @@ def main(*queries): print("----------") if find_error(statement): print("ERRORS IN QUERY") - process_statement(statement) print_tokens(statement, encoding='utf-8') print() statement._pprint_tree() diff --git a/demo/parse-file.py b/demo/parse-file.py index bba6096..55a7829 100755 --- a/demo/parse-file.py +++ b/demo/parse-file.py @@ -4,7 +4,6 @@ from __future__ import print_function import sys from sqlparse import parse from sqlconvert.print_tokens import print_tokens -from sqlconvert.process_mysql import process_statement from sqlconvert.process_tokens import find_error @@ -15,7 +14,6 @@ def main(filename): print("----------") if find_error(parsed): print("ERRORS IN QUERY") - process_statement(parsed) print_tokens(parsed, encoding='utf-8') print() parsed._pprint_tree() diff --git a/demo/parse-sql.py b/demo/parse-sql.py index 99f8678..abf38ba 100755 --- a/demo/parse-sql.py +++ b/demo/parse-sql.py @@ -4,7 +4,6 @@ from __future__ import print_function import sys from sqlparse import parse from sqlconvert.print_tokens import print_tokens -from sqlconvert.process_mysql import process_statement from sqlconvert.process_tokens import find_error @@ -14,7 +13,6 @@ def main(*queries): print("----------") if find_error(parsed): print("ERRORS IN QUERY") - process_statement(parsed) print_tokens(parsed, encoding='utf-8') print() parsed._pprint_tree() -- 2.39.5