diff options
Diffstat (limited to 'sqlparse')
| -rw-r--r-- | sqlparse/filters/others.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlparse/filters/others.py b/sqlparse/filters/others.py index 6132f9a..d3af7d6 100644 --- a/sqlparse/filters/others.py +++ b/sqlparse/filters/others.py @@ -113,8 +113,8 @@ class SpacesAroundOperatorsFilter(object): # postprocess class SerializerUnicode(object): - def process(self, stmt): + @staticmethod + def process(stmt): raw = text_type(stmt) lines = split_unquoted_newlines(raw) - res = '\n'.join(line.rstrip() for line in lines) - return res + return '\n'.join(line.rstrip() for line in lines) |
