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