From 7f2dd5a8fd39ca0147f2b43e607b2a3ca2a75110 Mon Sep 17 00:00:00 2001 From: Frederic Back Date: Mon, 25 Sep 2006 09:58:07 +0000 Subject: * use unsigned long for size git-svn-id: file:///home/lennart/svn/public/fring/trunk@25 d0d2c35f-0a1e-0410-abeb-dabff30a67ee --- src/extension/extensiontest.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/extension/extensiontest.py') 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) -- cgit