Morpheus / Mbed OS mbed-Client-Morpheus-hg

Dependencies:   mbed-os

Revision:
13:3ae12fe3354a
Parent:
11:ab6a9a482a1d
Child:
15:a6b1f4e65bf4
--- a/neo.py	Wed Mar 30 01:51:29 2016 -0500
+++ b/neo.py	Wed Mar 30 01:59:45 2016 -0500
@@ -196,9 +196,9 @@
 
     popen([cwd.type, 'rm', '-f', repo.lib])
     if cwd.type == 'hg':
-        popen(['rm', '-f', repo.lib])
+        os.remove(repo.lib)
 
-    popen(['rm', '-rf', repo.path])
+    shutil.rmtree(repo.path)
 
 # Publish command
 @subcommand('publish',