]> git.phdru.name Git - sqlconvert.git/commit
Simplify get_tokens_str; rename get_tokens_str -> tlist2str
authorOleg Broytman <phd@phdru.name>
Sun, 14 Aug 2016 11:59:11 +0000 (14:59 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 14 Aug 2016 11:59:11 +0000 (14:59 +0300)
commitc86449d39cde438e153055e0f7731f0d15b62964
treeec7703b8539a371808ae0b77fd3127998908f17d
parent86cd5e14538aa1a7a39614c62163fb940459d90b
Simplify get_tokens_str; rename get_tokens_str -> tlist2str

Use .flatten() and avoid StringIO - make the output string directly.
mysql2sql/print_tokens.py
tests/test_tokens.py