[c-c] #1193302: Only show Deprecation warnings when using cubicweb-ctl (not /etc/init.d/cubicweb) stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 11 Jan 2011 12:45:30 +0100
branchstable
changeset 6803 691dac4c6a05
parent 6802 ff9059e144f9
child 6804 4262d0d6abcb
[c-c] #1193302: Only show Deprecation warnings when using cubicweb-ctl (not /etc/init.d/cubicweb)
debian/cubicweb-ctl.cubicweb.init
--- a/debian/cubicweb-ctl.cubicweb.init	Tue Jan 11 12:24:49 2011 +0100
+++ b/debian/cubicweb-ctl.cubicweb.init	Tue Jan 11 12:45:30 2011 +0100
@@ -24,12 +24,12 @@
 
 case $1 in
     force-reload)
-        /usr/bin/cubicweb-ctl reload --force
+        python -W ignore /usr/bin/cubicweb-ctl reload --force
         ;;
     status)
-        /usr/bin/cubicweb-ctl status
+        python -W ignore /usr/bin/cubicweb-ctl status
         ;;
     *)
-        /usr/bin/cubicweb-ctl $1 --force
+        python -W ignore /usr/bin/cubicweb-ctl $1 --force
         ;;
 esac