forked from platformio/platformio-core
Use "items" instead of "iteritems" (PY2/3) // Issue #895
This commit is contained in:
1 parent
080369f597
commit
e94d758131
6 files changed
+8
-8
No files matched your search
@@ -604,7 +604,7 @@ class PlatformBase( # pylint: disable=too-many-public-methods
|
||||
|
||||
# enable upload tools for upload targets
|
||||
if any(["upload" in t for t in targets] + ["program" in targets]):
|
||||
for name, opts in self.packages.iteritems():
|
||||
for name, opts in self.packages.items():
|
||||
if opts.get("type") == "uploader":
|
||||
self.packages[name]['optional'] = False
|
||||
# skip all packages in "nobuild" mode
|
||||
|
||||
Reference in new issue
Block a user