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

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



commit f96a2825132b13200207f4e1a96a501786434487
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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,
   )

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