summaryrefslogtreecommitdiff
path: root/grc/base/Block.py
diff options
context:
space:
mode:
authorMatt Ettus2009-09-30 18:59:54 -0700
committerMatt Ettus2009-09-30 18:59:54 -0700
commit4dfa2ad7deab0a89784906b377dbea271ba08118 (patch)
tree55cdaeaf2c6cce0217a7b5acd501330accc66246 /grc/base/Block.py
parent1e3521c90f63e70e8ec4dc97574bc8b46366fc1e (diff)
parentc88f64ad42a8473a1749275c0e579284b20eb283 (diff)
downloadgnuradio-4dfa2ad7deab0a89784906b377dbea271ba08118.tar.gz
gnuradio-4dfa2ad7deab0a89784906b377dbea271ba08118.tar.bz2
gnuradio-4dfa2ad7deab0a89784906b377dbea271ba08118.zip
Merge branch 'master' into new_eth
Diffstat (limited to 'grc/base/Block.py')
-rw-r--r--grc/base/Block.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/base/Block.py b/grc/base/Block.py
index 203e878e4..b2015cc40 100644
--- a/grc/base/Block.py
+++ b/grc/base/Block.py
@@ -239,7 +239,7 @@ class Block(Element):
that are needed for the connections creation phase.
@param n the nested data odict
"""
- get_hash = lambda: reduce(lambda x, y: x ^ y, [hash(param) for param in self.get_params()], 0)
+ get_hash = lambda: hash(tuple(map(hash, self.get_params())))
my_hash = 0
while get_hash() != my_hash:
params_n = n.findall('param')