doc: remove spurious print in test2rest.py stable
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 27 Aug 2012 15:17:13 +0200
branchstable
changeset 525 a0327c78a5d3
parent 524 ba0a3d0f942f
child 526 6194f7ee85dd
doc: remove spurious print in test2rest.py
docs/test2rst.py
--- 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