commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10668 - gnuradio/branches/developers/jblum/vlen/grc/s


From: jblum
Subject: [Commit-gnuradio] r10668 - gnuradio/branches/developers/jblum/vlen/grc/src/utils
Date: Sun, 22 Mar 2009 20:40:51 -0600 (MDT)

Author: jblum
Date: 2009-03-22 20:40:51 -0600 (Sun, 22 Mar 2009)
New Revision: 10668

Modified:
   gnuradio/branches/developers/jblum/vlen/grc/src/utils/converter.py
Log:
add some backwards compadibility for mult and add in grc

Modified: gnuradio/branches/developers/jblum/vlen/grc/src/utils/converter.py
===================================================================
--- gnuradio/branches/developers/jblum/vlen/grc/src/utils/converter.py  
2009-03-22 20:40:58 UTC (rev 10667)
+++ gnuradio/branches/developers/jblum/vlen/grc/src/utils/converter.py  
2009-03-23 02:40:51 UTC (rev 10668)
@@ -81,10 +81,10 @@
                        #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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]