From f503b22f82e2cdc73785b30693401c99fbdc3d75 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 30 Jun 2009 19:06:54 -0400 Subject: [PATCH] =?utf8?q?Apparently=20shlex.split=20doesn=E2=80=99t=20wor?= =?utf8?q?k=20on=20unicode.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- TracZephyrPlugin/ZephyrPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TracZephyrPlugin/ZephyrPlugin.py b/TracZephyrPlugin/ZephyrPlugin.py index fe46914..87c8762 100644 --- a/TracZephyrPlugin/ZephyrPlugin.py +++ b/TracZephyrPlugin/ZephyrPlugin.py @@ -11,7 +11,7 @@ class ZephyrPlugin(Component): zclass = self.config.get('ZephyrPlugin', 'class') if zclass == '': return - command = shlex.split(self.config.get('ZephyrPlugin', 'command')) + command = shlex.split(self.config.get('ZephyrPlugin', 'command').encode('utf-8')) if not command: command = ['zwrite', '-q', '-l', '-d'] p = subprocess.Popen(command + -- 2.45.1