diff docs/test2rst.py @ 525:a0327c78a5d3 stable

doc: remove spurious print in test2rest.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Mon, 27 Aug 2012 15:17:13 +0200
parents 8469ccb9550f
children 94fe2cc9cd41
line wrap: on
line diff
--- a/docs/test2rst.py	Mon Aug 27 15:16:47 2012 +0200
+++ b/docs/test2rst.py	Mon Aug 27 15:17:13 2012 +0200
@@ -27,7 +27,7 @@
     if os.path.isdir(base):
         one_dir(base)
     else:
-        print one_file(base)
+        one_file(base)
 
 
 def one_dir(base):
@@ -37,14 +37,12 @@
     for fn in sorted(os.listdir(base)):
         if not fn.endswith('.t'):
             continue
-        print fn
         name = os.path.splitext(fn)[0]
         content = one_file(op.join(base, fn))
         target = op.join(base, name + '.rst')
         #with file(doc(name + '.rst'), 'w') as f:
         with file(target, 'w') as f:
             f.write(content)
-        print f
 
         index += '\n   ' + name