| 498 | ReadAndPersist(var_name, def_name) |
| 499 | |
| 500 | def WaitForLGTM(self): |
| 501 | print ("Please wait for an LGTM, then type \"LGTM<Return>\" to commit " |
| 502 | "your change. (If you need to iterate on the patch or double check " |
| 503 | "that it's sensible, do so in another shell, but remember to not " |
| 504 | "change the headline of the uploaded CL.") |
| 505 | answer = "" |
| 506 | while answer != "LGTM": |
| 507 | print("> ", end=' ') |
| 508 | answer = self.ReadLine(None if self._options.wait_for_lgtm else "LGTM") |
| 509 | if answer != "LGTM": |
| 510 | print("That was not 'LGTM'.") |
| 511 | |
| 512 | def WaitForResolvingConflicts(self, patch_file): |
| 513 | print("Applying the patch \"%s\" failed. Either type \"ABORT<Return>\", " |