diff options
author | jblum | 2009-03-24 19:45:55 +0000 |
---|---|---|
committer | jblum | 2009-03-24 19:45:55 +0000 |
commit | 4f480479afac529eadc65f4e0bc6fe13e42553b3 (patch) | |
tree | 6e08a8ecd0e523e43943454e3df8a42a77ce3ebf /grc/src/utils/converter.py | |
parent | d9a4ecedfcd777262cde70554d6e6a7b4f0657c0 (diff) | |
download | gnuradio-4f480479afac529eadc65f4e0bc6fe13e42553b3.tar.gz gnuradio-4f480479afac529eadc65f4e0bc6fe13e42553b3.tar.bz2 gnuradio-4f480479afac529eadc65f4e0bc6fe13e42553b3.zip |
Merged r10666:10669 from jblum/vlen. Trunk passes distcheck.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10678 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/src/utils/converter.py')
-rw-r--r-- | grc/src/utils/converter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/src/utils/converter.py b/grc/src/utils/converter.py index 36cdd065f..34fc438fd 100644 --- a/grc/src/utils/converter.py +++ b/grc/src/utils/converter.py @@ -81,10 +81,10 @@ def convert(file_path, platform): #convert instances of gui_coordinate and gui_rotation xml = etree.parse(file_path) for find, replace in ( - ('gui_coordinate', '_coordinate'), - ('gui_rotation', '_rotation'), + ('gr_add_vxx', 'gr_add_xx'), + ('gr_multiply_vxx', 'gr_multiply_xx'), ): - keys = xml.xpath('/flow_graph/block/param[key="%s"]/key'%find) + keys = xml.xpath('/flow_graph/block[key="%s"]/key'%find) for key in keys: key.text = replace changed = True |