From 7008d8c311a9b635a4d39dff1123f3a2e59a7a10 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Mon, 13 Jan 2025 11:54:17 -0800 Subject: [PATCH] Fixed bug in `gam print|show chromepolicies` that caused a trap --- src/GamUpdate.txt | 5 +++++ src/gam/__init__.py | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index 63ed16ce..4f3d2028 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -1,3 +1,8 @@ +7.02.08 + +Fixed bug in `gam print|show chromepolicies` that caused a trap when neither +`ou|orgunit ` nor `group ` was specified. + 7.02.07 Updated `gam delete|update chromepolicy` to display the `` or `` (if specified) diff --git a/src/gam/__init__.py b/src/gam/__init__.py index aa3e0202..957e1243 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.02.07' +__version__ = '7.02.08' __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' #pylint: disable=wrong-import-position @@ -28349,7 +28349,7 @@ def doPrintShowChromePolicies(): if csvPF: csvPF.SetNoEscapeChar(True) FJQC = FormatJSONQuoteChar(csvPF) - app_id = groupEmail = orgUnit = printer_id = None + app_id = groupEmail = orgUnit = printer_id = targetResource = None showPolicies = CHROME_POLICY_SHOW_ALL psFilters = [] while Cmd.ArgumentsRemaining():