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:
David Shrewsbury 2014-09-05 13:25:05 -04:00
parent 2521f0bae7
commit 967f5261b2
1 changed files with 1 additions and 1 deletions

View File

@ -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', [])