diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2017-08-25 00:59:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-25 00:59:20 +0000 |
commit | 874684535f1749e063d6ba8915d99df70f13326d (patch) | |
tree | 8fa3639bdff25c8652583e73cd15dcb272b1a4d9 /utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py | |
parent | ecf353cd66a5020ae1e039462aecbcd701bf8117 (diff) | |
parent | 707ea14579a969fa6266aab2f8fafb2f095b0806 (diff) |
Merge "bugfix: fail to generate APIs document"
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py b/utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py index bd06400b4..7ab57c3ff 100644 --- a/utils/test/testapi/opnfv_testapi/resources/scenario_handlers.py +++ b/utils/test/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 |