diff options
author | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-26 20:14:18 +0100 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2015-10-26 20:14:18 +0100 |
commit | 1992f6deff983f7a3332142da5c49e82544bd1ac (patch) | |
tree | d76351e66f2502257bf81bdbefcf4fb6fa9c01fe /sqlparse/utils.py | |
parent | f7e07b7b61be4befd5eaafce93aeb0238c884315 (diff) | |
download | sqlparse-1992f6deff983f7a3332142da5c49e82544bd1ac.tar.gz |
Cleanup module code.
Diffstat (limited to 'sqlparse/utils.py')
-rw-r--r-- | sqlparse/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlparse/utils.py b/sqlparse/utils.py index 3a49ac2..ae45679 100644 --- a/sqlparse/utils.py +++ b/sqlparse/utils.py @@ -73,7 +73,6 @@ def memoize_generator(func): cache = Cache() def wrapped_func(*args, **kwargs): -# params = (args, kwargs) params = (args, tuple(sorted(kwargs.items()))) # Look if cached @@ -120,6 +119,7 @@ SPLIT_REGEX = re.compile(r""" LINE_MATCH = re.compile(r'(\r\n|\r|\n)') + def split_unquoted_newlines(text): """Split a string on all unquoted newlines. @@ -134,4 +134,4 @@ def split_unquoted_newlines(text): outputlines.append('') else: outputlines[-1] += line - return outputlines
\ No newline at end of file + return outputlines |