From 2e443cbd54a5342140b28448b2e411ae60975d53 Mon Sep 17 00:00:00 2001 From: tallytalwar Date: Fri, 4 Mar 2022 14:19:58 -0800 Subject: [PATCH] Fix testUsdUtilsUpdateSchemaWithSdrNode caused by a typo (Internal change: 2219367) --- pxr/usd/usdUtils/updateSchemaWithSdrNode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pxr/usd/usdUtils/updateSchemaWithSdrNode.py b/pxr/usd/usdUtils/updateSchemaWithSdrNode.py index 8a49c55252..03cc6c5478 100644 --- a/pxr/usd/usdUtils/updateSchemaWithSdrNode.py +++ b/pxr/usd/usdUtils/updateSchemaWithSdrNode.py @@ -170,7 +170,7 @@ def _CreateAttrSpecFromNodeAttribute(primSpec, prop, primDefForAttrPruning, defaultValue = prop.GetDefaultValueAsSdfType() if (attrType == Sdf.ValueTypeNames.String or - attrType == Sdf.ValueTypeNames.Tokens) and defaultValue is not None: + attrType == Sdf.ValueTypeNames.Token) and defaultValue is not None: attrSpec.default = defaultValue.replace('"', r'\"') else: attrSpec.default = defaultValue