From bc4e0b3ba71250d92a7f45a036bcae7f5589e1a6 Mon Sep 17 00:00:00 2001
From: Ben Hilburn <ben.hilburn@ettus.com>
Date: Fri, 14 Oct 2016 14:21:07 -0400
Subject: Backport GRC Python code for Python-2.6.6+

---
 grc/gui/Executor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'grc/gui/Executor.py')

diff --git a/grc/gui/Executor.py b/grc/gui/Executor.py
index bf9eecb9a8..f91a341541 100644
--- a/grc/gui/Executor.py
+++ b/grc/gui/Executor.py
@@ -65,7 +65,7 @@ class ExecFlowGraphThread(threading.Thread):
                 filename=shlex_quote(generator.file_path))
             run_command_args = shlex.split(run_command)
         except Exception as e:
-            raise ValueError("Can't parse run command {!r}: {}".format(run_command, e))
+            raise ValueError("Can't parse run command {!r}: {0}".format(run_command, e))
 
         # When in no gui mode on linux, use a graphical terminal (looks nice)
         xterm_executable = find_executable(self.xterm_executable)
-- 
cgit v1.2.3