projects
/
debian
/
gnuradio
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
368d4a0
)
Merge branch 'grc' of http://gnuradio.org/git/jblum
author
Johnathan Corgan
<jcorgan@corganenterprises.com>
Fri, 25 Sep 2009 20:24:53 +0000
(13:24 -0700)
committer
Johnathan Corgan
<jcorgan@corganenterprises.com>
Fri, 25 Sep 2009 20:24:53 +0000
(13:24 -0700)
* 'grc' of http://gnuradio.org/git/jblum:
hash the tuple of hashes to id the current params
grc/base/Block.py
patch
|
blob
|
history
diff --git
a/grc/base/Block.py
b/grc/base/Block.py
index 203e878e400650105806d155ec243483c3cacd4c..b2015cc403ec4f5cffab3284e82311f8e350fb74 100644
(file)
--- 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')