public
Description: Python-based continuous integration testing framework
Homepage: http://buildbot.net
Clone URL: git://github.com/djmitche/buildbot.git
(addresses: #255) rm commands can't use usePTY

Just fixes one instance of the problem as discussed in 
http://buildbot.net/trac/ticket/255
metcalfc (author)
Tue Dec 30 14:56:37 -0800 2008
commit  97240c6cdd527f5414e98336274e0652368cce3b
tree    90b5f989f4056aec62c2854c2e5a4971c83aa09c
parent  1a1fa349572b9d4bbb2e4b147138bed9691fbf57
...
1396
1397
1398
 
 
 
 
1399
1400
1401
...
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
0
@@ -1396,6 +1396,10 @@ class SourceBase(Command):
0
         command = ["rm", "-rf", d]
0
         c = ShellCommand(self.builder, command, self.builder.basedir,
0
                          sendRC=0, timeout=self.timeout)
0
+
0
+        # Work around for Bug #255
0
+        c.usePTY = False
0
+
0
         self.command = c
0
         # sendRC=0 means the rm command will send stdout/stderr to the
0
         # master, but not the rc=0 when it finishes. That job is left to

Comments