diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2014-02-05 11:55:31 +0100 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2014-02-05 11:55:31 +0100 |
| commit | 0552e8fa23615567b37a9b1199343820caf04e22 (patch) | |
| tree | 147dc85e87ab47f7e75f4c76f3fb853b56f527e5 /sqlparse/sql.py | |
| parent | d7f9ac827a497300333db635a0c4303da3d63e07 (diff) | |
| parent | f00a59e1b25c466da1d2612405f7abb7c93db207 (diff) | |
| download | sqlparse-0552e8fa23615567b37a9b1199343820caf04e22.tar.gz | |
Merge pull request #126 from spigwitmer/busted_oneliteral
Fix Function.get_parameters() with 1 literal as its parameter
Diffstat (limited to 'sqlparse/sql.py')
| -rw-r--r-- | sqlparse/sql.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sqlparse/sql.py b/sqlparse/sql.py index cfd622b..4664142 100644 --- a/sqlparse/sql.py +++ b/sqlparse/sql.py @@ -628,6 +628,8 @@ class Function(TokenList): return t.get_identifiers() elif isinstance(t, Identifier): return [t,] + elif t.ttype in T.Literal: + return [t,] return [] |
