Fix "Runtime Error: Dictionary size changed during iteration" // Resolve #2003

This commit is contained in:
Ivan Kravets
2019-01-09 16:34:39 +02:00
parent aa2bc4a63b
commit 2ae41c8434
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,8 @@ PlatformIO 3.0
- CLion: Improved project portability using "${CMAKE_CURRENT_LIST_DIR}" instead of full path
* Fixed an issue with incorrect detecting of compatibility (LDF) between generic library and Arduino or ARM mbed frameworks
* Fixed "Runtime Error: Dictionary size changed during iteration"
(`issue #2003 <https://github.com/platformio/platformio-core/issues/2003>`_)
3.6.3 (2018-12-12)
~~~~~~~~~~~~~~~~~~

View File

@ -388,7 +388,7 @@ def backup_reports(items):
for params in items:
# skip static options
for key in params:
for key in params.keys():
if key in ("v", "tid", "cid", "cd1", "cd2", "sr", "an"):
del params[key]