[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 53b1c41c160c3b112cbf6491f5c8840edd289e18

Freddy Vulto fvulto at gmail.com
Fri Jul 24 09:59:21 UTC 2009


The following commit has been merged in the master branch:
commit 3d7321bc6891c01a29ad058e1ef6e72ab5242ccc
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Fri Jul 24 11:52:58 2009 +0200

    Fix leaking $i from python completion

diff --git a/CHANGES b/CHANGES
index af99031..4bee841 100644
--- a/CHANGES
+++ b/CHANGES
@@ -139,7 +139,7 @@ bash-completion (1.x)
   [ Freddy Vulto ]
   * Patched _known_hosts() to support multiple {Global,User}KnownHosts in SSH
     config files, thanks to Thomas Nilsson (Alioth: #311595) (Debian: #524190)
-  * Fix leaking $i from info and man completions.
+  * Fix leaking $i from info, man and python completions.
 
  -- David Paleino <d.paleino at gmail.com>  Thu, 18 Jun 2009 13:12:36 +0200
 
diff --git a/contrib/python b/contrib/python
index ffb55a4..1a84196 100644
--- a/contrib/python
+++ b/contrib/python
@@ -6,7 +6,7 @@
 have python &&
 _python()
 {
-	local prev cur
+	local prev cur i
 
 	COMPREPLY=()
 	cur=`_get_cword`

-- 
bash-completion



More information about the Bash-completion-commits mailing list