diff options
author | Andi Albrecht <albrecht.andi@gmail.com> | 2015-07-26 14:35:32 +0200 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2015-07-26 14:35:32 +0200 |
commit | 5df394485efbbbc5413b21b9efd6f039ff18fae1 (patch) | |
tree | 17a4cd907c79d5e7e75de7cf8c68dbb7dd9f1895 /bin/sqlformat | |
parent | d463a753216b5c9e2c7f2b3c8a48fa76cbdb73c2 (diff) | |
parent | 8987a3a6b540ea35bbb1f9c5f49f3306501289cd (diff) | |
download | sqlparse-v0.2.0.tar.gz |
Merge branch 'master' into v0.2.0v0.2.0
Diffstat (limited to 'bin/sqlformat')
-rwxr-xr-x | bin/sqlformat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sqlformat b/bin/sqlformat index fcee452..cecbed9 100755 --- a/bin/sqlformat +++ b/bin/sqlformat @@ -77,7 +77,7 @@ def main(): data = sys.stdin.read() else: try: - data = '\n'.join(open(args[0]).readlines()) + data = ''.join(open(args[0]).readlines()) except OSError: err = sys.exc_info()[1] # Python 2.5 compatibility _error('Failed to read %s: %s' % (args[0], err), exit_=1) |