Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion multipart/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.4'
__version__ = '0.0.5'
4 changes: 2 additions & 2 deletions multipart/multipart.py
Original file line number Diff line number Diff line change
Expand Up @@ -1436,8 +1436,8 @@ def data_callback(name, remaining=False):

elif state == STATE_END:
# Do nothing and just consume a byte in the end state.
self.logger.warning("Consuming a byte '%x' in the end state", c)
pass
if c not in (CR, LF):
self.logger.warning("Consuming a byte '0x%x' in the end state", c)

else: # pragma: no cover (error case)
# We got into a strange state somehow! Just stop processing.
Expand Down