diff options
author | Andi Albrecht <albrecht.andi@gmail.com> | 2019-03-11 12:45:11 +0100 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2019-03-11 12:45:11 +0100 |
commit | cff61bb93a080c1becbf2c6cd33911bc206cf587 (patch) | |
tree | 3683be35ea59d970be8ff0f46c77151615405636 /sqlparse/tokens.py | |
parent | fcbccb849b56f29fb7f3ddb958d3e10279f8d939 (diff) | |
download | sqlparse-cff61bb93a080c1becbf2c6cd33911bc206cf587.tar.gz |
Avoid formatting of psql commands (fixes #469).
Diffstat (limited to 'sqlparse/tokens.py')
-rw-r--r-- | sqlparse/tokens.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/tokens.py b/sqlparse/tokens.py index 41e3742..eefc0b4 100644 --- a/sqlparse/tokens.py +++ b/sqlparse/tokens.py @@ -55,6 +55,7 @@ Assignment = Token.Assignment # Generic types for non-source code Generic = Token.Generic +Command = Generic.Command # String and some others are not direct children of Token. # alias them: @@ -66,4 +67,3 @@ Token.Number = Number DML = Keyword.DML DDL = Keyword.DDL CTE = Keyword.CTE -Command = Keyword.Command |