From 925f4532bcc8fc3e3ef31b6919160e4c518e02b2 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Mon, 31 Oct 2016 12:20:04 -0400 Subject: [PATCH] IndexError, not KeyError --- src/gam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gam.py b/src/gam.py index 2adc6282..769b7235 100755 --- a/src/gam.py +++ b/src/gam.py @@ -6755,7 +6755,7 @@ def getUserAttributes(i, cd, updateCmd=False): def doCreateProject(): try: hint = sys.argv[3] - except KeyError: + except IndexError: while True: hint = raw_input(u'What is your G Suite admin email address? ') if hint.find(u'@') == -1: