diff options
| author | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-04-23 01:41:31 +0200 |
|---|---|---|
| committer | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-04-23 01:41:31 +0200 |
| commit | 85ce0e5990930f0baa8ba37c6523d873824394e5 (patch) | |
| tree | b2cb446c4f10995dc694ec0889e372eeb09932f9 /sqlparse | |
| parent | 2d8fa9e4ac7358d70dc751b497ca21df89fef757 (diff) | |
| download | sqlparse-85ce0e5990930f0baa8ba37c6523d873824394e5.tar.gz | |
Added Quest to authors and little convention fixed
Diffstat (limited to 'sqlparse')
| -rw-r--r-- | sqlparse/filters.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sqlparse/filters.py b/sqlparse/filters.py index bfa757d..99ef80c 100644 --- a/sqlparse/filters.py +++ b/sqlparse/filters.py @@ -219,7 +219,7 @@ class StripWhitespaceFilter(Filter): self._stripws_default(tlist) def process(self, stack, stmt, depth=0): - [self.process(stack, sgroup, depth+1) + [self.process(stack, sgroup, depth + 1) for sgroup in stmt.get_sublists()] self._stripws(stmt) if depth == 0 and stmt.tokens[-1].is_whitespace(): @@ -493,6 +493,7 @@ class SerializerUnicode(Filter): res += '\n' return res + def Tokens2Unicode(stream): result = "" |
