# HG changeset patch # User Pierre-Yves David # Date 1346073433 -7200 # Node ID a0327c78a5d3b21fc354b11702d0f25b1149c242 # Parent ba0a3d0f942fe992e34d04e74f0290883ac665b9 doc: remove spurious print in test2rest.py diff -r ba0a3d0f942f -r a0327c78a5d3 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