diff options
| author | Victor Uriarte <victor.m.uriarte@intel.com> | 2017-02-07 18:53:57 -0700 |
|---|---|---|
| committer | Victor Uriarte <victor.m.uriarte@intel.com> | 2017-02-07 18:53:57 -0700 |
| commit | d67c442db4fd8b60a97440e84b9c21e80e4e958c (patch) | |
| tree | b2da53ac3c84d31d750e349a899707187938df04 /sqlparse | |
| parent | 8e039bc6b8a6ac29c64e380552e156d1b5bff4d7 (diff) | |
| parent | 18dbc4d3aad10fa5d8fa206e7ba0d15dcf3fc52c (diff) | |
| download | sqlparse-d67c442db4fd8b60a97440e84b9c21e80e4e958c.tar.gz | |
Merge pull request #321 from romainr/patch-1
Putting LIMIT on a new line #320
Diffstat (limited to 'sqlparse')
| -rw-r--r-- | sqlparse/filters/reindent.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/filters/reindent.py b/sqlparse/filters/reindent.py index ede2d27..f077849 100644 --- a/sqlparse/filters/reindent.py +++ b/sqlparse/filters/reindent.py @@ -51,7 +51,7 @@ class ReindentFilter(object): def _next_token(self, tlist, idx=-1): split_words = ('FROM', 'STRAIGHT_JOIN$', 'JOIN$', 'AND', 'OR', 'GROUP', 'ORDER', 'UNION', 'VALUES', - 'SET', 'BETWEEN', 'EXCEPT', 'HAVING') + 'SET', 'BETWEEN', 'EXCEPT', 'HAVING', 'LIMIT') m_split = T.Keyword, split_words, True tidx, token = tlist.token_next_by(m=m_split, idx=idx) |
