Plot_directive: copy source files to output.

This commit is contained in:
Stefan van der Walt
2009-10-14 07:48:14 +02:00
parent d9c206b625
commit c8bb8c6751
+2
View File
@@ -342,6 +342,8 @@ def run(arguments, content, options, state_machine, state, lineno):
f = open(target_name, 'w')
f.write(unescape_doctest(code))
f.close()
else:
shutil.copy(source_file_name, dest_dir)
return []