[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [arm/master] Don't suppress deprecation warnings



commit 9c8e21b867258612cc340a65dbb6c46fda7ad17d
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Thu Jan 9 08:51:37 2014 -0800

    Don't suppress deprecation warnings
    
    Pretty much the sole purpose of our run_arm shell script is to suppress python
    deprecation warnings. I no longer recall what they were, but at a guess it was
    probably related to python 2.5 compatability, which I'll be dropping.
    
    We presently don't get any warnings so simply dropping it. If we generate
    warnings later then in all likelihood I'll fix 'em in this go round.
---
 run_arm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_arm b/run_arm
index f82e895..cbe74d6 100755
--- a/run_arm
+++ b/run_arm
@@ -12,6 +12,6 @@ fi
 python "${arm_base}prereq.py" $*
 
 if [ $? = 0 ]; then
-  exec python -W ignore::DeprecationWarning "runner.py" $*
+  exec python "runner.py" $*
 fi
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits