mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
fix gs objects
This commit is contained in:
@@ -38,7 +38,7 @@ def create():
|
|||||||
if description.find(c) != -1:
|
if description.find(c) != -1:
|
||||||
gs_body['description'] = description
|
gs_body['description'] = description
|
||||||
if not gs:
|
if not gs:
|
||||||
gs = build('groupssettings')
|
gs = gam.buildGAPIObject'groupssettings')
|
||||||
gs_object = gs._rootDesc
|
gs_object = gs._rootDesc
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
@@ -49,7 +49,7 @@ def create():
|
|||||||
i += 1
|
i += 1
|
||||||
else:
|
else:
|
||||||
if not gs:
|
if not gs:
|
||||||
gs = build('groupssettings')
|
gs = gam.buildGAPIObject('groupssettings')
|
||||||
gs_object = gs._rootDesc
|
gs_object = gs._rootDesc
|
||||||
getGroupAttrValue(myarg, sys.argv[i + 1], gs_object, gs_body,
|
getGroupAttrValue(myarg, sys.argv[i + 1], gs_object, gs_body,
|
||||||
'create')
|
'create')
|
||||||
@@ -464,7 +464,7 @@ def print_():
|
|||||||
elif getSettings:
|
elif getSettings:
|
||||||
gsfields = None
|
gsfields = None
|
||||||
if getSettings:
|
if getSettings:
|
||||||
gs = gam.build('groupssettings')
|
gs = gam.buildGAPIObject('groupssettings')
|
||||||
roles = ','.join(sorted(set(roles)))
|
roles = ','.join(sorted(set(roles)))
|
||||||
if roles:
|
if roles:
|
||||||
if members:
|
if members:
|
||||||
|
|||||||
Reference in New Issue
Block a user