[meld] Don't pass empty cwd to subprocess (closes bgo#597718)
- From: Kai Willadsen <kaiw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [meld] Don't pass empty cwd to subprocess (closes bgo#597718)
- Date: Mon, 12 Oct 2009 23:44:56 +0000 (UTC)
commit aa9a506099627e1d62acbe6e7c09c217d86feef5
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Oct 11 10:18:21 2009 +1000
Don't pass empty cwd to subprocess (closes bgo#597718)
meld/misc.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meld/misc.py b/meld/misc.py
index a2cf71d..3a70e97 100644
--- a/meld/misc.py
+++ b/meld/misc.py
@@ -232,6 +232,8 @@ def read_pipe_iter(command, errorstream, yield_interval=0.1, workdir=None):
if status:
errorstream.write("Exit code: %i\n" % status)
yield "".join(bits)
+ if workdir == "":
+ workdir = None
return sentinel()()
def write_pipe(command, text):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]