(self, prompt)
| 370 | return getpass.getpass(prompt) |
| 371 | |
| 372 | def continue_maybe(self, prompt): |
| 373 | while True: |
| 374 | result = input("\n%s (y/n): " % prompt) |
| 375 | if result.lower() == "y": |
| 376 | return |
| 377 | elif result.lower() == "n": |
| 378 | self.fail("Okay, exiting") |
| 379 | else: |
| 380 | prompt = "Please input 'y' or 'n'" |
| 381 | |
| 382 | |
| 383 | class PullRequest(object): |