commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 01/08: grc: yet another py26 incompatibilit


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/08: grc: yet another py26 incompatibility
Date: Wed, 1 Oct 2014 19:32:58 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit 3e7ecef94bd2c73201877585d3cbe21e855ed1b3
Author: Sebastian Koslowski <address@hidden>
Date:   Tue Sep 2 10:27:46 2014 +0200

    grc: yet another py26 incompatibility
---
 grc/base/ParseXML.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grc/base/ParseXML.py b/grc/base/ParseXML.py
index 888272a..a2cede1 100644
--- a/grc/base/ParseXML.py
+++ b/grc/base/ParseXML.py
@@ -121,7 +121,7 @@ def to_file(nested_data, xml_file):
     instructions = nested_data.pop('_instructions', None)
     if instructions:
         xml_data += etree.tostring(etree.ProcessingInstruction(
-            'grc', ' '.join("{}='{}'".format(*item) for item in 
instructions.iteritems())
+            'grc', ' '.join("{0}='{1}'".format(*item) for item in 
instructions.iteritems())
         ), xml_declaration=True, pretty_print=True)
     xml_data += etree.tostring(_to_file(nested_data)[0], pretty_print=True)
     open(xml_file, 'w').write(xml_data)



reply via email to

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