From 3cb5dfdde05a53b07300c52b76dc91bc8eff58dd Mon Sep 17 00:00:00 2001 From: Terry Stewart Date: Thu, 21 Apr 2016 16:07:57 -0400 Subject: [PATCH] Fixed list concatenation for Python3 --- nengo_gui/components/netgraph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nengo_gui/components/netgraph.py b/nengo_gui/components/netgraph.py index a6344e52..a5f727e1 100644 --- a/nengo_gui/components/netgraph.py +++ b/nengo_gui/components/netgraph.py @@ -202,7 +202,8 @@ def _reload(self, code=None): # # The following lambda should do this, handling both # the normal argument case and the keyword argument case. - safe_eval = '(lambda *a, **b: list(a) + b.values())(%s)[0]' + safe_eval = ('(lambda *a, **b: ' + 'list(a) + list(b.values()))(%s)[0]') # this Component depends on an item inside a collapsed # Network, so we need to check if that component has