Skip to content

Commit

Permalink
Fix pylint error occurring only in python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
EntilZha committed Jun 4, 2016
1 parent e642730 commit c40c2ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functional/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def get_read_function(filename, disable_compression):

def universal_write_open(path, mode, buffering=-1, encoding=None, errors=None, newline=None,
compresslevel=9, compression=None):
# pylint: disable=unexpected-keyword-arg
if compression is None:
return builtins.open(path, mode=mode, buffering=buffering, encoding=encoding, errors=errors,
newline=newline)
Expand Down

0 comments on commit c40c2ff

Please sign in to comment.