Skip to content

Commit

Permalink
Fixed an issue when generating of compilation database "compile_comma…
Browse files Browse the repository at this point in the history
…nds.json" does not work with Python 2.7 // Resolve #3378
  • Loading branch information
ivankravets committed Feb 17, 2020
1 parent 154be7f commit 6328206
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs
2 changes: 1 addition & 1 deletion platformio/builder/tools/compilation_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, 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

Expand Down

0 comments on commit 6328206

Please sign in to comment.