Skip to content

Commit

Permalink
fix for both black versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak authored and Sarthak committed Sep 2, 2020
1 parent 73c1d32 commit 4eae370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pandas/io/sas/sas_xport.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class XportReader(ReaderBase, abc.Iterator):
__doc__ = _xport_reader_doc

def __init__(
self, filepath_or_buffer, index=None, encoding="ISO-8859-1", chunksize=None,
self, filepath_or_buffer, index=None, encoding="ISO-8859-1", chunksize=None
):

self._encoding = encoding
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/stata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1980,7 +1980,7 @@ def _open_file_binary_write(
compression_typ = infer_compression(fname, compression_typ)
compression = dict(compression_args, method=compression_typ)
path_or_buf, _, compression, _ = get_filepath_or_buffer(
fname, mode="wb", compression=compression, storage_options=storage_options,
fname, mode="wb", compression=compression, storage_options=storage_options
)
f, _ = get_handle(path_or_buf, "wb", compression=compression, is_text=False)
return f, True, compression
Expand Down

0 comments on commit 4eae370

Please sign in to comment.