diff options
| author | Andreas Albrecht <andreas.albrecht@Admins-MacBook-Pro.local> | 2019-03-10 07:31:37 +0100 |
|---|---|---|
| committer | Andreas Albrecht <andreas.albrecht@Admins-MacBook-Pro.local> | 2019-03-10 07:31:37 +0100 |
| commit | 6a7eb243274e1f17c0bb99d65272c4313b9ee08c (patch) | |
| tree | 001bc90e42e1595995d396ee13dafc34e9571686 /sqlparse/engine/statement_splitter.py | |
| parent | bc84fdc0afdb966280d95277e1c1cddeba20ae5a (diff) | |
| download | sqlparse-6a7eb243274e1f17c0bb99d65272c4313b9ee08c.tar.gz | |
Code cleanup.
Diffstat (limited to 'sqlparse/engine/statement_splitter.py')
| -rw-r--r-- | sqlparse/engine/statement_splitter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlparse/engine/statement_splitter.py b/sqlparse/engine/statement_splitter.py index d610b5e..444b46a 100644 --- a/sqlparse/engine/statement_splitter.py +++ b/sqlparse/engine/statement_splitter.py @@ -65,8 +65,8 @@ class StatementSplitter(object): self._begin_depth = max(0, self._begin_depth - 1) return -1 - if (unified in ('IF', 'FOR', 'WHILE') and - self._is_create and self._begin_depth > 0): + if (unified in ('IF', 'FOR', 'WHILE') + and self._is_create and self._begin_depth > 0): return 1 if unified in ('END IF', 'END FOR', 'END WHILE'): |
