diff options
| author | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-05 15:36:49 -0700 |
|---|---|---|
| committer | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-09 20:27:18 -0700 |
| commit | 5e6d36f9d7ee7892cacccac3d9a3c97c5ab123ec (patch) | |
| tree | 7e2380feeaf3b3d1c636f537f4fbc69ba49f2b5e /sqlparse | |
| parent | c43fccfefed0806cca52bea48d232ddf72f842cd (diff) | |
| download | sqlparse-5e6d36f9d7ee7892cacccac3d9a3c97c5ab123ec.tar.gz | |
update serializerunicode
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) |
