From: Tiago Melo Date: Wed, 24 Oct 2018 16:01:53 +0000 (+0100) Subject: ceph.in: Add support for python 3 X-Git-Tag: v14.1.0~1100^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24739%2Fhead;p=ceph.git 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 --- 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