diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-24 18:18:27 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-24 18:18:27 +0800 |
commit | 2a0945fb2e5b0399c7e1fc9061c601a145454186 (patch) | |
tree | 52274f949ebbc74b3f1e04525fd2ad13e421fd5c /testapi/opnfv_testapi/resources/scenario_handlers.py | |
parent | e89188adacacb72c11f557168f7ee48175c93837 (diff) |
bugfix: fail to generate APIs document
Change-Id: I13c91fb34e190cd62400eccec6b755419aad89d1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/resources/scenario_handlers.py')
-rw-r--r-- | testapi/opnfv_testapi/resources/scenario_handlers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testapi/opnfv_testapi/resources/scenario_handlers.py b/testapi/opnfv_testapi/resources/scenario_handlers.py index bd06400..7ab57c3 100644 --- a/testapi/opnfv_testapi/resources/scenario_handlers.py +++ b/testapi/opnfv_testapi/resources/scenario_handlers.py @@ -255,7 +255,7 @@ class ScenarioUpdater(object): @iter_installers @iter_versions def _update_requests_change_owner(self, version): - version.owner = self.body + version.owner = self.body.get('owner') def _filter_installers(self, installers): return self._filter('installer', installers) @@ -587,7 +587,7 @@ class ScenarioOwnerHandler(GenericScenarioUpdateHandler): @type body: L{string} @in body: body @param installer: installer type - @type installer: L{string} + @type installer: L{ScenarioChangeOwnerRequest} @in installer: query @required installer: True @param version: version |