File: respond_fail.py

package info (click to toggle)
python-invoke 2.2.1%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,652 kB
  • sloc: python: 11,664; makefile: 24
file content (5 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (3)
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???")