diff --git a/nailgun/entities.py b/nailgun/entities.py index 2f0a83f9..8bd1e4ae 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -39,7 +39,7 @@ _poll_task, _get_entity_ids, _payload, - to_json_serializable as to_json + to_json_serializable, ) if version_info.major == 2: # pragma: no cover @@ -201,18 +201,6 @@ def _get_version(server_config): return getattr(server_config, 'version', Version('1!0')) -def to_json_serializable(obj): - """Just an alias to entity_mixins.to_json_seriazable so this module can - be used as a facade - - :param obj: entity or any json serializable object - - :return: serializable object - - """ - return to_json(obj) - - class ActivationKey( Entity, EntityCreateMixin,