[Buildbot-commits] buildbot/buildbot/slave commands.py,1.94,1.95

Brian Warner warner at users.sourceforge.net
Sat Mar 22 22:50:36 UTC 2008


Update of /cvsroot/buildbot/buildbot/buildbot/slave
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv367/buildbot/slave

Modified Files:
	commands.py 
Log Message:
[project @ slave/commands.py: log more information about stdin and PTYs to the 'headers' section]

Original author: warner at lothar.com
Date: 2008-03-22 22:49:21+00:00

Index: commands.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/slave/commands.py,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- commands.py	21 Mar 2008 00:07:06 -0000	1.94
+++ commands.py	22 Mar 2008 22:50:34 -0000	1.95
@@ -377,6 +377,22 @@
         log.msg(" environment: %s" % (self.environ,))
         self.sendStatus({'header': msg})
 
+        if self.initialStdin:
+            msg = " writing %d bytes to stdin" % len(self.initialStdin)
+            log.msg(" " + msg)
+            self.sendStatus({'header': msg+"\n"})
+
+        if self.keepStdinOpen:
+            msg = " leaving stdin open"
+        else:
+            msg = " closing stdin"
+        log.msg(" " + msg)
+        self.sendStatus({'header': msg+"\n"})
+
+        msg = " using PTY: %s" % bool(self.usePTY)
+        log.msg(" " + msg)
+        self.sendStatus({'header': msg+"\n"})
+
         # this will be buffered until connectionMade is called
         if self.initialStdin:
             self.pp.writeStdin(self.initialStdin)





More information about the Commits mailing list