diff --git a/tools/marvin/marvin/codegenerator.py b/tools/marvin/marvin/codegenerator.py index 2a6f50d8370..1eb8810c9c7 100644 --- a/tools/marvin/marvin/codegenerator.py +++ b/tools/marvin/marvin/codegenerator.py @@ -311,7 +311,7 @@ class codeGenerator(object): assert paramProperty.name required = param.getElementsByTagName('required') - if required: + if getText(required) == "true": paramProperty.required = getText(required) requestDescription = param.getElementsByTagName('description')