File: respond_fail.py

package info (click to toggle)
python-invoke 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,820 kB
  • sloc: python: 15,952; makefile: 2
file content (5 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (2)
1
2
3
4
5
if input("What's the password?") == "Rosebud":
    print("You're not Citizen Kane!")
    # This should sit around forever like e.g. a bad sudo prompt would, but the
    # responder ought to be looking for the above and aborting instead.
    input("Seriously, what's the password???")