Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-os
Diff: neo.py
- Revision:
- 66:bfe0df4ef9f5
- Parent:
- 65:905ba27af203
- Child:
- 67:c3b033f16424
- Child:
- 68:14cc5a81333d
--- a/neo.py Wed Mar 30 20:09:45 2016 -0500
+++ b/neo.py Wed Mar 30 20:15:09 2016 -0500
@@ -282,8 +282,9 @@
return scm
def gethash(self):
- with cd(self.path):
- return self.scm.hash()
+ if self.scm:
+ with cd(self.path):
+ return self.scm.hash()
def getlibs(self):
for root, dirs, files in os.walk(self.path):