Fix DoxYaml when 'prep' not present.
If 'prep' is not present in the dox.yml file, processing fails. Set a default for it.
This commit is contained in:
parent
2521f0bae7
commit
967f5261b2
|
@ -50,7 +50,7 @@ class DoxYaml(object):
|
|||
return " ".join([self._open_dox_yaml().get('commands')] + extra_args)
|
||||
|
||||
def get_prep_commands(self):
|
||||
return self._open_dox_yaml().get('prep')
|
||||
return self._open_dox_yaml().get('prep', [])
|
||||
|
||||
def get_add_files(self):
|
||||
return self._open_dox_yaml().get('add', [])
|
||||
|
|
Loading…
Reference in New Issue