docs/test2rst.py
branchstable
changeset 525 a0327c78a5d3
parent 235 8469ccb9550f
child 2035 94fe2cc9cd41
--- 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