From: joey <> Date: Sat, 20 Nov 2004 19:04:44 +0000 (+0000) Subject: Indicate that "yes" needs to be written with three letters X-Git-Tag: debian_userdir-ldap_0-3-8~43 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c8be76aec5288c72f56ef9561e13bcd31b8b8423;hp=91d5b5c1125595d131fc089aa25a983441b96b7a;p=mirror%2Fuserdir-ldap.git Indicate that "yes" needs to be written with three letters --- diff --git a/ud-useradd b/ud-useradd index c51c944..009bdd3 100755 --- a/ud-useradd +++ b/ud-useradd @@ -106,7 +106,7 @@ while 1: if len(Attrs) == 0: privsub = "%s@debian.org"%(account); break; - Res = raw_input("That account already exists, update [no]? "); + Res = raw_input("That account already exists, update [No/yes]? "); if Res == "yes": # Update mode, fetch the default values from the directory Update = 1; @@ -185,7 +185,7 @@ print " Private Subscription:",privsub; print " GECOS Field: \"%s,,,,\"" % (FullName); print " Login Shell: /bin/bash"; print " Key Fingerprint:",Keys[0][1]; -Res = raw_input("Continue [no]? "); +Res = raw_input("Continue [No/yes]? "); if Res != "yes": sys.exit(1);