Skip to content

Commit

Permalink
Fix PEP8 line spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
firecat53 committed Nov 14, 2017
1 parent b4b85e6 commit 2950c2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tabview/tabview.py
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,7 @@ def fix_newlines(data):
data = data[0].split(b'\r')
return data


def adjust_space_delim(data, enc):
"""Take data that is space deliminated and clean it to be a *single* space
Expand All @@ -1172,6 +1173,7 @@ def adjust_space_delim(data, enc):
return [(' '.join(shlex.split(d.decode(enc))) + '\n').encode(enc)
for d in data]


def process_data(data, enc=None, delim=None, quoting=None, quote_char=str('"')):
"""Given a list of lists, check for the encoding, quoting and delimiter and
return a list of CSV rows (normalized to a single length)
Expand Down

0 comments on commit 2950c2b

Please sign in to comment.