]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: clean up unused code
authorJohn Spray <john.spray@redhat.com>
Mon, 26 Sep 2016 21:17:16 +0000 (22:17 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 29 Sep 2016 16:27:07 +0000 (17:27 +0100)
commitda76c59efc487dee37ee0f4ce518ce4b97878ec7
treedb36920679e43ce7eabc93e4586f6e273189ab86
parent1bb9edbaf27d026acbf3fcfb80bdbf7a34f00fce
pybind/mgr: clean up unused code

...and change the "if False" django-rest-framework
conditionals to actual version checks, with a view
to genuinely supporting 2.x in future if needed.

Signed-off-by: John Spray <john.spray@redhat.com>
src/pybind/mgr/rest/app/serializers/fields.py
src/pybind/mgr/rest/app/serializers/v1.py [deleted file]
src/pybind/mgr/rest/app/serializers/v2.py
src/pybind/mgr/rest/app/urls/v2.py
src/pybind/mgr/rest/app/views/rpc_view.py
src/pybind/mgr/rest/app/views/v2.py