summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharles <charles>2009-12-03 03:28:09 +0000
committercharles <charles>2009-12-03 03:28:09 +0000
commitf1b7e47fc0e0d58c0e4f6e298c0dd50b6f96370d (patch)
treea99f3cc2415e285b4bf9a3ed4e18fd3e8bba71bf
parent9822952036d0edf3076ccb116ef2ef6fd5166c98 (diff)
Add more info to python test
-rw-r--r--direct/python/examples.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/direct/python/examples.py b/direct/python/examples.py
index ac2c48c..349e234 100644
--- 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 :
+ elif 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