Commit 30ab77b9 authored by Jérome Perrin's avatar Jérome Perrin

cookbook: neoppod py3 support

parent 0f8df699
Pipeline #28561 failed with stage
in 0 seconds
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# #
############################################################################## ##############################################################################
import six
import os import os
import shlex import shlex
from zc.buildout import UserError from zc.buildout import UserError
...@@ -41,7 +42,7 @@ class Cluster(object): ...@@ -41,7 +42,7 @@ class Cluster(object):
for node in sorted(options['nodes'].split()): for node in sorted(options['nodes'].split()):
node = buildout[node] node = buildout[node]
node_list.append(node) node_list.append(node)
for k, v in result_dict.iteritems(): for k, v in six.iteritems(result_dict):
x = node[k] x = node[k]
if x: if x:
v.append(x) v.append(x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment