From 25f9b7b24f00cb4acdd8b4da1fd6a0e343c95f36 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Sat, 13 Oct 2018 09:05:06 -0700 Subject: [PATCH] mgr: python 3 compat fixes Signed-off-by: Noah Watkins (cherry picked from commit 6dc95544512362c202535139c323717ec867e20b) Conflicts: - path: src/pybind/mgr/crash/module.py comment: file does not exist in luminous: omitted --- src/pybind/mgr/balancer/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/balancer/module.py b/src/pybind/mgr/balancer/module.py index 529ee012d612..03f454a05bc7 100644 --- a/src/pybind/mgr/balancer/module.py +++ b/src/pybind/mgr/balancer/module.py @@ -277,7 +277,7 @@ class Module(MgrModule): self.log.warn("Handling command: '%s'" % str(command)) if command['prefix'] == 'balancer status': s = { - 'plans': self.plans.keys(), + 'plans': list(self.plans.keys()), 'active': self.active, 'mode': self.get_config('mode', default_mode), } -- 2.47.3