From 2a0945fb2e5b0399c7e1fc9061c601a145454186 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Thu, 24 Aug 2017 18:18:27 +0800 Subject: bugfix: fail to generate APIs document Change-Id: I13c91fb34e190cd62400eccec6b755419aad89d1 Signed-off-by: SerenaFeng --- testapi/opnfv_testapi/resources/scenario_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testapi/opnfv_testapi/resources/scenario_handlers.py') 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 -- cgit 1.2.3-korg