(arg_name, path)
| 283 | def DumpInputFiles(self): |
| 284 | |
| 285 | def DumpContentsOfFilePassedTo(arg_name, path): |
| 286 | if path and self.Exists(path): |
| 287 | self.Print("\n# To recreate the file passed to %s:" % arg_name) |
| 288 | self.Print("%% cat > %s <<EOF" % path) |
| 289 | contents = self.ReadFile(path) |
| 290 | self.Print(contents) |
| 291 | self.Print("EOF\n%\n") |
| 292 | |
| 293 | if getattr(self.args, 'input_path', None): |
| 294 | DumpContentsOfFilePassedTo( |