Exit if no GnuPG key has been entered
authorjoey <>
Sat, 20 Nov 2004 19:10:18 +0000 (19:10 +0000)
committerjoey <>
Sat, 20 Nov 2004 19:10:18 +0000 (19:10 +0000)
ud-useradd

index a7b5f39..829d707 100755 (executable)
@@ -61,7 +61,7 @@ SetKeyrings(["/org/keyring.debian.org/keyrings/debian-keyring.gpg"])
 while (1):
    Foo = raw_input("Who are you going to add (for a GPG search)? ");
    if Foo == "":
 while (1):
    Foo = raw_input("Who are you going to add (for a GPG search)? ");
    if Foo == "":
-      continue;
+      sys.exit(0);
 
    Keys = GPGKeySearch(Foo);
 
 
    Keys = GPGKeySearch(Foo);