projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up the code. Manage the reconnection. Use the lwip error, insted
[bertos.git]
/
wizard
/
plugins
/
codelite.py
diff --git
a/wizard/plugins/codelite.py
b/wizard/plugins/codelite.py
index 81403219aaeae39205c8025c6f42037a5203e0b9..156abe3c13fedf5883f861899bad389e2ad836b3 100644
(file)
--- a/
wizard/plugins/codelite.py
+++ b/
wizard/plugins/codelite.py
@@
-32,7
+32,7
@@
# Author: Lorenzo Berni <duplo@develer.com>
#
# Author: Lorenzo Berni <duplo@develer.com>
#
-import os
+import os
, sys
import const
import const
@@
-83,7
+83,7
@@
def findSources(path):
path += os.sep
file_dict = {}
# also follow all symlinks under POSIX OSes
path += os.sep
file_dict = {}
# also follow all symlinks under POSIX OSes
- if os.name == 'posix':
+ if os.name == 'posix'
and sys.version_info >= (2, 6)
:
file_list = os.walk(path, followlinks=True)
else:
file_list = os.walk(path)
file_list = os.walk(path, followlinks=True)
else:
file_list = os.walk(path)