Fixed an issue when generating of compilation database "compile_commands.json" does not work with Python 2.7 // Resolve #3378

This commit is contained in:
Ivan Kravets
2020-02-17 13:05:01 +02:00
parent 154be7fa81
commit 6328206e78
3 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@ PlatformIO Core 4
* Froze "marshmallow" dependency to 2.X for Python 2 (`issue #3380 <https://github.com/platformio/platformio-core/issues/3380>`_)
* Fixed "TypeError: unsupported operand type(s)" when system environment variable is used by project configuration parser (`issue #3377 <https://github.com/platformio/platformio-core/issues/3377>`_)
* Fixed an issue when Library Dependency Finder (LDF) ignores custom "libLDFMode" and "libCompatMode" options in `library.json <http://docs.platformio.org/page/librarymanager/config.html>`__
* Fixed an issue when generating of compilation database "compile_commands.json" does not work with Python 2.7 (`issue #3378 <https://github.com/platformio/platformio-core/issues/3378>`_)
4.2.0 (2020-02-12)

2
docs

Submodule docs updated: 3a399f127b...ecc392b0bd

View File

@ -49,7 +49,7 @@ class __CompilationDbNode(SCons.Node.Python.Value):
self.Decider(changed_since_last_build_node)
def changed_since_last_build_node(child, target, prev_ni, node):
def changed_since_last_build_node(*args, **kwargs):
""" Dummy decider to force always building"""
return True