From 2a84aec59ef3fd3dbc7c9d3a64675057d308c6c0 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 3 Feb 2015 18:44:24 +0200 Subject: [PATCH] Fix bug with package without alias --- platformio/platforms/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/platforms/base.py b/platformio/platforms/base.py index 55b3f6da..98b547c0 100644 --- a/platformio/platforms/base.py +++ b/platformio/platforms/base.py @@ -208,7 +208,7 @@ class BasePlatform(object): # append aliases of the installed packages for name, options in self.get_packages().items(): - if name not in installed_packages: + if "alias" not in options or name not in installed_packages: continue variables.append( "PIOPACKAGE_%s=%s" % (options['alias'].upper(), name))