Commit 502affc9 authored by Luciano Cauzzi's avatar Luciano Cauzzi

fixed return type

parent 1f90d78d
......@@ -161,7 +161,7 @@ class AppPyramidManager:
response = s.get(url, headers=headers, data=json.dumps(payload), timeout=AppPyramidManager.TIMEOUT)
json_repr = json.loads(response.text)
object_repr = ResultList.from_dict(json_repr, item_class_type)
return object_repr
return AppPyramidManager.__manage_response__(response.status_code, operation_name, result=object_repr)
except Exception as e:
return AppPyramidManager.__generate_generic_error__(operation_name, e)
......
......@@ -3,7 +3,7 @@ import setuptools
setup(
name='network_manager',
version='0.1.16',
version='0.1.17',
packages=setuptools.find_packages(),
dependency_links=['http://github.comune.brescia.it/innovation-that-excites/logger_library#egg=logger_library-0.1.18'],
install_requires=['logger_library', 'dependency_injector', 'requests'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment