(data)
| 79 | return arg if not ShouldEscape() else '"%s"' % (arg.replace('"', '\\"')) |
| 80 | |
| 81 | def WriteToTemporaryFile(data): |
| 82 | (fd, fname) = tempfile.mkstemp() |
| 83 | os.close(fd) |
| 84 | tmp_file = open(fname, "w") |
| 85 | tmp_file.write(data) |
| 86 | tmp_file.close() |
| 87 | return fname |
| 88 | |
| 89 | def Main(): |
| 90 | if (len(sys.argv) == 1): |