diff options
author | Matt Ettus | 2009-09-30 18:59:54 -0700 |
---|---|---|
committer | Matt Ettus | 2009-09-30 18:59:54 -0700 |
commit | 4dfa2ad7deab0a89784906b377dbea271ba08118 (patch) | |
tree | 55cdaeaf2c6cce0217a7b5acd501330accc66246 /grc/base/Block.py | |
parent | 1e3521c90f63e70e8ec4dc97574bc8b46366fc1e (diff) | |
parent | c88f64ad42a8473a1749275c0e579284b20eb283 (diff) | |
download | gnuradio-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.py | 2 |
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') |