From 7d7817664bc72e4bcd10f4c63c3ec32bbaff3af9 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Fri, 19 Jun 2026 07:22:34 -0700 Subject: [PATCH] Updated `gam show calsettings` --- src/GamUpdate.txt | 5 +++++ src/gam/__init__.py | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index 95450dc2..405eb5ff 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -1,3 +1,8 @@ +7.46.02 + +Updated `gam show calsettings` to display `dataOwner` field; +it is labelled `Owner`. + 7.46.01 Fixed bug in `gam issuecommand command ... csv` where diff --git a/src/gam/__init__.py b/src/gam/__init__.py index b1ba0c16..709f69b0 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki """ __author__ = 'GAM Team ' -__version__ = '7.46.01' +__version__ = '7.46.02' __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' # pylint: disable=wrong-import-position @@ -42956,14 +42956,16 @@ def doCalendarsModifySettings(calIds): def _showCalendarSettings(calendar, j, jcount): printEntity([Ent.CALENDAR, calendar['id']], j, jcount) Ind.Increment() + if 'dataOwner' in calendar: + printKeyValueList(['Owner', calendar['dataOwner']]) if 'summaryOverride' in calendar or 'summary' in calendar: printKeyValueList(['Summary', calendar.get('summaryOverride', calendar.get('summary', ''))]) if 'description' in calendar: - printKeyValueWithCRsNLs('Description', calendar.get('description', '')) + printKeyValueWithCRsNLs('Description', calendar['description']) if 'location' in calendar: - printKeyValueList(['Location', calendar.get('location', '')]) + printKeyValueList(['Location', calendar['location']]) if 'timeZone' in calendar: - printKeyValueList(['Timezone', calendar.get('timeZone', '')]) + printKeyValueList(['Timezone', calendar['timeZone']]) if 'conferenceProperties' in calendar: printKeyValueList(['ConferenceProperties', None]) Ind.Increment()