Commits

Pierre-Yves David  committed a0327c7

doc: remove spurious print in test2rest.py

  • Participants
  • Parent commits ba0a3d0
  • Branches stable

Comments (0)

Files changed (1)

File docs/test2rst.py

     if os.path.isdir(base):
         one_dir(base)
     else:
-        print one_file(base)
+        one_file(base)
 
 
 def one_dir(base):
     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