summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_twisted4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a521a3ca1..86b43f78b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-19  Peter Stephenson  <pws@csr.com>
+
+	* unposted: from Eric Mangold: Completion/Unix/Command/_twisted:
+	update.
+
 2007-11-18  Clint Adams  <clint@zsh.org>
 
 	* Nikolai Weibull: 24075: Completion/Unix/Command/_cp: fix
diff --git a/Completion/Unix/Command/_twisted b/Completion/Unix/Command/_twisted
index 09f7edcbc..b3b242729 100644
--- a/Completion/Unix/Command/_twisted
+++ b/Completion/Unix/Command/_twisted
@@ -37,9 +37,9 @@ function load_twisted_completions() {
     python_code='
 import twisted, os.path
 dir = os.path.dirname(twisted.__file__)
-print dir + os.sep + os.path.join("python", "zsh")
+print os.path.join(dir, "python", "zsh")
 '
-    dir=$($PYTHON -c "$python_code")
+    dir=$(${=PYTHON} -c "$python_code")
     #debug "Trying to load twisted functions from $dir:q"
     if [[ -r $dir/_twistd ]]; then
         old_fpath=($fpath)