[Python-modules-commits] r6873 - in packages/pastescript/trunk/debian (2 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Tue Nov 11 13:10:41 UTC 2008


    Date: Tuesday, November 11, 2008 @ 13:10:40
  Author: piotr
Revision: 6873

* New upstream release (upload to experimental due to Lenny freeze, to ease
  testing rev. dependencies)
* ignore exceptions in bash completion script

Modified:
  packages/pastescript/trunk/debian/changelog
  packages/pastescript/trunk/debian/paster.bash_completion

Modified: packages/pastescript/trunk/debian/changelog
===================================================================
--- packages/pastescript/trunk/debian/changelog	2008-11-10 15:29:10 UTC (rev 6872)
+++ packages/pastescript/trunk/debian/changelog	2008-11-11 13:10:40 UTC (rev 6873)
@@ -1,3 +1,11 @@
+pastescript (1.7.3-1) experimental; urgency=low
+
+  * New upstream release (upload to experimental due to Lenny freeze, to ease
+    testing rev. dependencies)
+  * ignore exceptions in bash completion script
+
+ -- Piotr Ożarowski <piotr at debian.org>  Tue, 11 Nov 2008 10:47:58 +0100
+
 pastescript (1.7.2-1) experimental; urgency=low
 
   [ Sandro Tosi ]

Modified: packages/pastescript/trunk/debian/paster.bash_completion
===================================================================
--- packages/pastescript/trunk/debian/paster.bash_completion	2008-11-10 15:29:10 UTC (rev 6872)
+++ packages/pastescript/trunk/debian/paster.bash_completion	2008-11-11 13:10:40 UTC (rev 6873)
@@ -13,7 +13,7 @@
     cur=${COMP_WORDS[COMP_CWORD]}
     prev=${COMP_WORDS[COMP_CWORD-1]}
     paster_options='-h --help -v --version --plugin'
-    commands="$(python -c 'from paste.script.command import get_commands; print " ".join(get_commands().keys())')"
+    commands="$(python -c 'from paste.script.command import get_commands; print " ".join(get_commands().keys())' 2>/dev/null)"
 
 
     case ${COMP_WORDS[1]} in
@@ -24,7 +24,7 @@
 	    COMPREPLY=( $( compgen -W "$commands" | grep "^$cur" ) )
 	    ;;
 	serve)
-	    COMPREPLY=( $( compgen -G "${cur}*.ini" -W "$(paster help serve | grep -o '\-\{1,2\}[a-zA-Z][-a-zA-Z]*')" | grep "^$cur" ) )
+	    COMPREPLY=( $( compgen -G "${cur}*.ini" -W "$(paster help serve 2>/dev/null | grep -o '\-\{1,2\}[a-zA-Z][-a-zA-Z]*')" | grep "^$cur" ) )
 	    ;;
 	*)
 	    COMPREPLY=( $( compgen -W "$paster_options $commands" | grep "^$cur" ) )




More information about the Python-modules-commits mailing list