(arg, dirname, fnames)
| 25 | |
| 26 | |
| 27 | def create_file(arg, dirname, fnames): |
| 28 | for n in fnames: |
| 29 | path = os.path.join(dirname, n) |
| 30 | if not os.path.isdir(path): |
| 31 | print "t.write(\"%s\", \"\"\"" % (remove_first_component(path),), |
| 32 | f = open(path, "r") |
| 33 | for l in f: |
| 34 | print l, |
| 35 | print '\n""")\n' |
| 36 | |
| 37 | |
| 38 | header = """#!/usr/bin/python |
nothing calls this directly
no test coverage detected