Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 225f3b8e authored by Ricardo SILVA's avatar Ricardo SILVA
Browse files

bug fix on the leankit user creation script lk:31512105424615 refs #30581

parent d907e541
No related branches found
No related tags found
No related merge requests found
...@@ -320,6 +320,10 @@ def main(): ...@@ -320,6 +320,10 @@ def main():
if user not in ec_results['users']: if user not in ec_results['users']:
bad_user.append(user) bad_user.append(user)
continue continue
if 'dg' not in ec_results['users'][user]:
logger.error("%s do not have a dg" % (user))
bad_user.append(user)
continue
if ec_results['users'][user]['dg'] != 'DIGIT': if ec_results['users'][user]['dg'] != 'DIGIT':
bad_user.append(user) bad_user.append(user)
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment