From 09a1e09c30387daabec546a6526c06368277b671 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Tue, 25 Jul 2023 15:45:55 +0000 Subject: [PATCH] [no ci] handle matters with no holds --- src/gam/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 3dca8fa3..5f3321f5 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -37860,7 +37860,7 @@ def printShowUserVaultHolds(entityList): matterId = matter['matterId'] matterName = matter['name'] matterNameId = formatVaultNameId(matterName, matterId) - for hold in matter['holds']: + for hold in matter.get('holds', []): if 'orgUnit' in hold: orgUnitId = hold['orgUnit'].get('orgUnitId') if orgUnitId in orgUnits: