diff options
author | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-16 06:45:09 -0700 |
---|---|---|
committer | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-18 18:01:40 -0700 |
commit | 581912d36e2b10191e46fa891dce912693983c95 (patch) | |
tree | cd09976baec1a96b1efcf1804219cfe40c995114 /sqlparse/cli.py | |
parent | 92b5f2bb88ed1c1080ecf7eb7449f5c642ae196a (diff) | |
download | sqlparse-581912d36e2b10191e46fa891dce912693983c95.tar.gz |
Misc. small code clean-up/comments
Diffstat (limited to 'sqlparse/cli.py')
-rw-r--r-- | sqlparse/cli.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlparse/cli.py b/sqlparse/cli.py index 1009413..03a4f8f 100644 --- a/sqlparse/cli.py +++ b/sqlparse/cli.py @@ -134,6 +134,7 @@ def main(args=None): data = sys.stdin.read() else: try: + # TODO: Needs to deal with encoding data = ''.join(open(args.filename).readlines()) except IOError as e: _error('Failed to read %s: %s' % (args.filename, e)) |