Bug 1215834: Followup to add sys to the list of imports; r=jonco
authorBenjamin Bouvier <benj@benj.me>
Thu, 24 Mar 2016 11:13:39 +0100
changeset 290232 3bc41b7615d29d92e21f36ca06d9911a03ade569
parent 290231 05cf733d5b26369caeca4550a0d33e9fd099b622
child 290233 e302d8d2af8bea5303ff1797f52668b8874918b5
push id30117
push userryanvm@gmail.com
push dateFri, 25 Mar 2016 15:36:00 +0000
treeherdermozilla-central@b45ee3e065b7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonco
bugs1215834
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1215834: Followup to add sys to the list of imports; r=jonco MozReview-Commit-ID: KCUKi4xPo68
js/src/tests/lib/tasks_unix.py
--- a/js/src/tests/lib/tasks_unix.py
+++ b/js/src/tests/lib/tasks_unix.py
@@ -1,13 +1,13 @@
 # A unix-oriented process dispatcher.  Uses a single thread with select and
 # waitpid to dispatch tasks.  This avoids several deadlocks that are possible
 # with fork/exec + threads + Python.
 
-import errno, os, select
+import errno, os, select, sys
 from datetime import datetime, timedelta
 from progressbar import ProgressBar
 from results import NullTestOutput, TestOutput, escape_cmdline
 
 class Task(object):
     def __init__(self, test, prefix, pid, stdout, stderr):
         self.test = test
         self.cmd = test.get_command(prefix)