Skip to content

Commit

Permalink
Clarify wording of exception messages in compression.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanunderwood committed Mar 11, 2018
1 parent e2c51e5 commit 2f7b35c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastparquet/compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def lz4_compress(data, **kwargs):
try:
if kwargs['store_size'] == True:
raise RuntimeError(
'store_size cannot be True for LZ4 the compressor'
'The store_size parameter should be False for LZ4 the compressor'
)
except KeyError:
kwargs['store_size'] = False
Expand All @@ -85,7 +85,7 @@ def zstd_compress(data, **kwargs):
try:
if kwargs['write_content_size'] == True:
raise RuntimeError(
'write_content_size cannot be false for the ZSTD compressor'
'The write_content_size parameter should be False for the ZSTD compressor'
)
except KeyError:
kwargs['write_content_size'] = False
Expand Down

0 comments on commit 2f7b35c

Please sign in to comment.