From 0a755335da177017b6548bbd22503cc8fc4c3d9f Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Mon, 24 Feb 2025 13:06:34 -0800 Subject: [PATCH] #1754 - Fixed bug in `gam all users print users issuspended false allfields` that caused a trap. --- src/GamUpdate.txt | 4 ++++ src/gam/__init__.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/GamUpdate.txt b/src/GamUpdate.txt index 019908a7..9022bf8d 100644 --- a/src/GamUpdate.txt +++ b/src/GamUpdate.txt @@ -1,3 +1,7 @@ +7.05.03 + +Fixed bug in `gam all users print users issuspended false allfields` that caused a trap. + 7.05.02 Chat usage reports are now available. Added `chat` to `` and `` diff --git a/src/gam/__init__.py b/src/gam/__init__.py index a9152437..66577b29 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.05.02' +__version__ = '7.05.03' __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)' #pylint: disable=wrong-import-position @@ -44792,7 +44792,7 @@ def doPrintUsers(entityList=None): return sortRows = True # If no individual fields were specified (allfields, basic, full) or individual fields other than primaryEmail were specified, look up each user - if isSuspended is not None: + if isSuspended is not None and fieldsList: fieldsList.append('suspended') if projectionSet or len(set(fieldsList)) > 1 or showValidColumn: jcount = len(entityList)