]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Correct usage of collections.abc 25318/head
authorJames Page <james.page@ubuntu.com>
Thu, 29 Nov 2018 09:47:07 +0000 (09:47 +0000)
committerJames Page <james.page@ubuntu.com>
Thu, 29 Nov 2018 09:48:43 +0000 (09:48 +0000)
commit20aa3ad17b467f823b2b9512af050c688558ef1f
treecbed3fa18c7285d2fba32a9a8d96d92913d9a122
parent3733f82f337b40e67dd41f7afbfa28ecf32fb920
Correct usage of collections.abc

Some classes should still be imported directly from collections;
only OrderedDict, Iterable and Callable (in the context of the
ceph codebase) are found in collections.abc.

The current code works due to the fallback support for Python 2.

Signed-off-by: James Page <james.page@ubuntu.com>
16 files changed:
qa/tasks/cephfs/test_data_scan.py
qa/tasks/cephfs/test_forward_scrub.py
qa/tasks/cephfs/test_recovery_pool.py
qa/tasks/cephfs/test_scrub.py
qa/tasks/mgr/dashboard/helper.py
qa/tasks/vstart_runner.py
src/ceph-volume/ceph_volume/__init__.py
src/pybind/cephfs/cephfs.pyx
src/pybind/mgr/dashboard/controllers/cephfs.py
src/pybind/mgr/dashboard/services/ceph_service.py
src/pybind/mgr/mgr_module.py
src/pybind/mgr/restful/api/crush.py
src/pybind/mgr/status/module.py
src/pybind/mgr/telemetry/module.py
src/pybind/rgw/rgw.pyx
src/tools/rgw/parse-cr-dump.py