diff options
author | Frederic Back <fredericback@gmail.com> | 2006-09-25 10:41:59 +0000 |
---|---|---|
committer | Frederic Back <fredericback@gmail.com> | 2006-09-25 10:41:59 +0000 |
commit | a6d9c932ce4cb91223e46c532489c0f514b09d4f (patch) | |
tree | b7073b23f5dfdd744e122f7c59f2be212f54a94c /src/extension/extensiontest.py | |
parent | ea97aefad7f3dd527ef910aedcb73f4b5b7f48dc (diff) |
* sync extension back from trunk
git-svn-id: file:///home/lennart/svn/public/fring/branches/c_walker@26 d0d2c35f-0a1e-0410-abeb-dabff30a67ee
Diffstat (limited to 'src/extension/extensiontest.py')
-rw-r--r-- | src/extension/extensiontest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/extension/extensiontest.py b/src/extension/extensiontest.py index e95c7a3..cd4b6aa 100644 --- a/src/extension/extensiontest.py +++ b/src/extension/extensiontest.py @@ -13,6 +13,9 @@ else: tree_path = os.path.expanduser("~") def read( t, tab=0 ): fn, data, size = t print " "*tab,fn,size + + if tab>0: return + if not data: return for e in data: read(e,tab+1) @@ -20,4 +23,5 @@ def read( t, tab=0 ): print 'getting "%s":'%tree_path i = fringtools.build_tree(tree_path, True) print "done." + read(i) |