Fixed bug in gam <UserTypeEntity> append sheetrange that caused a trap

Upgraded to Python 3.11.5 where possible.
This commit is contained in:
Ross Scroggs
2023-08-25 21:18:15 -07:00
parent d0a378413f
commit 6993137430
2 changed files with 9 additions and 2 deletions

View File

@@ -2,6 +2,12 @@
Merged GAM-Team version
6.63.07
Fixed bug in `gam <UserTypeEntity> append sheetrange` that caused a trap when appending to an empty sheet.
Upgraded to Python 3.11.5 where possible.
6.63.06
Updated `cigroup` commands to handle the following error:

View File

@@ -62794,7 +62794,8 @@ def appendSheetRanges(users):
printLine('{'+f'"User": "{user}", "spreadsheetId": "{spreadsheetId}", "JSON": {json.dumps(result, ensure_ascii=False, sort_keys=False)}'+'}')
continue
for field in ['tableRange']:
printKeyValueList([field, result[field]])
if field in result:
printKeyValueList([field, result[field]])
_showUpdateValuesResponse(result['updates'], k, kcount)
except (GAPI.notFound, GAPI.forbidden, GAPI.permissionDenied,
GAPI.internalError, GAPI.insufficientFilePermissions, GAPI.badRequest,
@@ -65788,7 +65789,7 @@ def processDelegates(users):
j = 0
for delegate in delegates:
j += 1
delegateEmail = convertUIDtoEmailAddress(delegate, cd=cd, aliasAllowed=aliasAllowed)
delegateEmail = convertUIDtoEmailAddress(delegate, cd=cd, emailTypes=['user', 'group'], aliasAllowed=aliasAllowed)
try:
if function == 'create':
callGAPI(gmail.users().settings().delegates(), function,