[tor-commits] [doctor/master] Error with added stdin argument

atagar at torproject.org atagar at torproject.org
Mon Sep 16 19:25:06 UTC 2013


commit f96a2825132b13200207f4e1a96a501786434487
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Sep 16 12:30:12 2013 -0700

    Error with added stdin argument
    
    Oops, paste error so we had two stdout rather than adding a stdin. Doh.
---
 util.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.py b/util.py
index 7dd81fc..5347906 100644
--- a/util.py
+++ b/util.py
@@ -92,7 +92,7 @@ def send(subject, body_text = None, destination = TO_ADDRESS):
 
   process = subprocess.Popen(
     ['mail', '-E', '-s', subject, destination],
-    stdout = subprocess.PIPE,
+    stdin = subprocess.PIPE,
     stdout = subprocess.PIPE,
     stderr = subprocess.PIPE,
   )



More information about the tor-commits mailing list