[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 06/16: grc: format xml fail msg to support
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 06/16: grc: format xml fail msg to support python 2.6 |
Date: |
Sun, 16 Feb 2014 21:11:20 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch master
in repository gnuradio.
commit 4a6ecef88c23e69d9435a6bb4f59e0bc87ec36dc
Author: riatsila <address@hidden>
Date: Thu Feb 6 20:03:36 2014 +0000
grc: format xml fail msg to support python 2.6
In Python 2.6 arguments are needed in the string being formatted, otherwise
the error message causes another error.
---
grc/gui/Messages.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grc/gui/Messages.py b/grc/gui/Messages.py
index a6620aa..c470645 100644
--- a/grc/gui/Messages.py
+++ b/grc/gui/Messages.py
@@ -56,7 +56,7 @@ def send_page_switch(file_path):
################# functions for loading blocks
########################################
def send_xml_errors_if_any(xml_failures):
if xml_failures:
- send('\nXML parser: Found {} erroneous XML file{} while loading the
block tree '
+ send('\nXML parser: Found {0} erroneous XML file{1} while loading the
block tree '
'(see "Help/Parser errors" for
details)\n'.format(len(xml_failures), 's' if len(xml_failures) > 1 else ''))
################# functions for loading flow graphs
########################################
- [Commit-gnuradio] [gnuradio] 07/16: runtime: warn when dropping asynchronous messages due to full asynch message queue, increase default asynch max buffer depth to 8192, (continued)
- [Commit-gnuradio] [gnuradio] 07/16: runtime: warn when dropping asynchronous messages due to full asynch message queue, increase default asynch max buffer depth to 8192, git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 08/16: Merge remote-tracking branch 'nwest/volk-regex', git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 01/16: volk: add regex option to profile, git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 09/16: Merge remote-tracking branch 'mbant/hpd-timing2', git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 02/16: digital: HPD now supports time- and other special tags, can mark rx-time of packets, git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 11/16: Merge remote-tracking branch 'riatsila/patch-3', git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 04/16: grc: For "No GUI" option, you can now choose which terminal type you like, git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 13/16: logger: setup logger for the tpb scheduler; fixes a swig issue when logger is not present., git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 03/16: digital: HPD consume-behaviour adapted to allow for trigger jitter, git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 10/16: Merge remote-tracking branch 'gnuradio-wg-grc/grc_config_xterm', git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 06/16: grc: format xml fail msg to support python 2.6,
git <=
- [Commit-gnuradio] [gnuradio] 12/16: Merge branch 'maint', git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 14/16: blocks: random_pdu (speedup, also allow a byte mask), message_strobe_random (new block, send messages with a known timing distribution), git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 16/16: Merge branch 'maint', git, 2014/02/16
- [Commit-gnuradio] [gnuradio] 15/16: blocks: random_pdu (allow specifying the length modulo for random pdu lengths), git, 2014/02/16