mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
Code cleanup (#975)
This commit is contained in:
@@ -7866,8 +7866,8 @@ def _getLoginHintProjectId(createCmd):
|
||||
if not PROJECTID_PATTERN.match(projectId):
|
||||
systemErrorExit(2, 'Invalid Project ID: {0}, expected <{1}>'.format(projectId, PROJECTID_FORMAT_REQUIRED))
|
||||
crm, httpObj = getCRMService(login_hint)
|
||||
crm2 = getCRM2Service(httpObj)
|
||||
if parent and not parent.startswith('organizations/') and not parent.startswith('folders/'):
|
||||
crm2 = getCRM2Service(httpObj)
|
||||
parent = convertGCPFolderNameToID(parent, crm2)
|
||||
if parent:
|
||||
parent_type, parent_id = parent.split('/')
|
||||
|
||||
Reference in New Issue
Block a user