diff options
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) |