projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9822952
)
Add more info to python test
author
charles
<charles>
Thu, 3 Dec 2009 03:28:09 +0000
(
03:28
+0000)
committer
charles
<charles>
Thu, 3 Dec 2009 03:28:09 +0000
(
03:28
+0000)
direct/python/examples.py
patch
|
blob
|
history
diff --git
a/direct/python/examples.py
b/direct/python/examples.py
index ac2c48c3a911d95c29a9cd6d963f4b1a8177b2e1..349e234453c8f0e7660e3cb17a039ebff136dadc 100644
(file)
--- a/
direct/python/examples.py
+++ b/
direct/python/examples.py
@@
-17,10
+17,12
@@
def yaffs_ls(dname):
if isFile :
print "File ",se.d_ino, hex(perms), st.st_size, fullname
- if isDir :
+
el
if isDir :
print "Dir ",se.d_ino, hex(perms), fullname
yaffs_ls(fullname)
-
+ else :
+ print "Other (",hex(st.st_mode),") ",se.d_ino, hex(perms), fullname
+
sep = yaffs_readdir(dc)
yaffs_closedir(dc)
return 0