Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fwffr.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class FixedLengthFieldParser(object):
right_justified
A list of fields that are right-justified instead of left.
skip_justified
A list of fields that aren't justfiied.
A list of fields that aren't justified.
encoding
The base encoding of the file. If set, all values will be decoded.
skip_unknown_types
Expand All @@ -138,7 +138,7 @@ def __init__(self, file_obj, fields, record_type_func=None,
self.skip_justified = skip_justified
self.encoding = encoding
self.skip_unknown_types = skip_unknown_types
self.strip = True
self.strip = strip

def __iter__(self):
for line in self.file_obj:
Expand Down