diff options
author | Josh Blum | 2009-09-18 23:27:06 -0700 |
---|---|---|
committer | Josh Blum | 2009-09-18 23:27:06 -0700 |
commit | 803943020c3d53686f2b65a70cd24a780b46c925 (patch) | |
tree | b265756957c7f08eb7e2a917a84ad46ce44dfdc4 /grc | |
parent | 24b3c103b859737d086d4813d6d345882b926e81 (diff) | |
download | gnuradio-803943020c3d53686f2b65a70cd24a780b46c925.tar.gz gnuradio-803943020c3d53686f2b65a70cd24a780b46c925.tar.bz2 gnuradio-803943020c3d53686f2b65a70cd24a780b46c925.zip |
xor that hash
Diffstat (limited to 'grc')
-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 43f9ba4e9..203e878e4 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: reduce(lambda x, y: x ^ y, [hash(param) for param in self.get_params()], 0) my_hash = 0 while get_hash() != my_hash: params_n = n.findall('param') |