From: Marius Schiffer Date: Mon, 25 Mar 2019 22:18:01 +0000 (+0100) Subject: mgr/devicehealth: Fix python 3 incompatiblity X-Git-Tag: v15.0.0~84^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F27172%2Fhead;p=ceph.git mgr/devicehealth: Fix python 3 incompatiblity Fixes: http://tracker.ceph.com/issues/38939 Signed-off-by: Marius Schiffer --- diff --git a/src/pybind/mgr/devicehealth/module.py b/src/pybind/mgr/devicehealth/module.py index 568929b878a0..2e14ca98a941 100644 --- a/src/pybind/mgr/devicehealth/module.py +++ b/src/pybind/mgr/devicehealth/module.py @@ -547,7 +547,7 @@ class Module(MgrModule): did += 1 if to_mark_out: self.mark_out_etc(to_mark_out) - for warning, ls in health_warnings.iteritems(): + for warning, ls in iteritems(health_warnings): n = len(ls) if n: checks[warning] = {