Morpheus / Mbed OS mbed-Client-Morpheus-hg

Dependencies:   mbed-os

Revision:
49:977ea8d3e661
Parent:
48:6cb5440dd984
Child:
50:3770a8991c11
Child:
52:25da1dfebd7a
--- a/neo.py	Fri Apr 01 00:45:54 2016 +0100
+++ b/neo.py	Wed Mar 30 17:18:04 2016 -0500
@@ -252,7 +252,8 @@
             for file in files:
                 if file.endswith('.lib'):
                     yield Repo.fromlib(os.path.join(root, file))
-                    dirs.remove(file[:-4])
+                    if file[:-4] in dirs:
+                        dirs.remove(file[:-4])
 
     def getrepo(self):
         with open(self.lib) as f: