From c0817527cc60eb3ae79d836245613549badb4dcd Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Wed, 24 Oct 2018 17:01:53 +0100 Subject: [PATCH] ceph.in: Add support for python 3 This will allow the condition to work in both python 2 and 3 environments. Signed-off-by: Tiago Melo --- src/ceph.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph.in b/src/ceph.in index 7a205c388675..1ad549afb35f 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -109,7 +109,7 @@ def get_cmake_variables(names): if line.startswith("{}:".format(name)): vars[name] = line.split("=")[1].strip() break - if all(vars.itervalues()): + if all(vars.values()): break return vars -- 2.47.3