mirror of https://github.com/apache/cloudstack.git
marvin_refactor: getText() reveals the actual value
otherwise required is always not None and always True Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
cdb6754323
commit
8cb437110e
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue