From f1b7e47fc0e0d58c0e4f6e298c0dd50b6f96370d Mon Sep 17 00:00:00 2001 From: charles Date: Thu, 3 Dec 2009 03:28:09 +0000 Subject: [PATCH] Add more info to python test --- direct/python/examples.py | 6 ++++-- 1 file 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 -- 2.30.2