mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-13 16:14:18 +00:00
Update config.py
This commit is contained in:
parent
d4fcde61dd
commit
03379cb010
1 changed files with 0 additions and 1 deletions
|
|
@ -71,7 +71,6 @@ class ConfigFileFinder(object):
|
||||||
try:
|
try:
|
||||||
if sys.version_info < (3,) and isinstance(filename, bytes):
|
if sys.version_info < (3,) and isinstance(filename, bytes):
|
||||||
filename = filename.decode('UTF-8')
|
filename = filename.decode('UTF-8')
|
||||||
|
|
||||||
found_files.extend(config.read(filename))
|
found_files.extend(config.read(filename))
|
||||||
except UnicodeDecodeError:
|
except UnicodeDecodeError:
|
||||||
LOG.exception(
|
LOG.exception(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue