From 4817a621fc3a4e6750863ee8d72fb3a16ba04dd2 Mon Sep 17 00:00:00 2001 From: Marius Schiffer Date: Mon, 25 Mar 2019 23:18:01 +0100 Subject: [PATCH] mgr/devicehealth: Fix python 3 incompatiblity Fixes: http://tracker.ceph.com/issues/38939 Signed-off-by: Marius Schiffer --- src/pybind/mgr/devicehealth/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/devicehealth/module.py b/src/pybind/mgr/devicehealth/module.py index 568929b878a02..2e14ca98a9414 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] = { -- 2.39.5