mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 13:43:35 +00:00
IndexError, not KeyError
This commit is contained in:
@ -6755,7 +6755,7 @@ def getUserAttributes(i, cd, updateCmd=False):
|
|||||||
def doCreateProject():
|
def doCreateProject():
|
||||||
try:
|
try:
|
||||||
hint = sys.argv[3]
|
hint = sys.argv[3]
|
||||||
except KeyError:
|
except IndexError:
|
||||||
while True:
|
while True:
|
||||||
hint = raw_input(u'What is your G Suite admin email address? ')
|
hint = raw_input(u'What is your G Suite admin email address? ')
|
||||||
if hint.find(u'@') == -1:
|
if hint.find(u'@') == -1:
|
||||||
|
Reference in New Issue
Block a user