support/testing/infra: rm extra log flush in builder.py
authorMatt Weber <matthew.weber@rockwellcollins.com>
Sat, 11 Aug 2018 01:02:26 +0000 (20:02 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 11 Aug 2018 10:38:45 +0000 (12:38 +0200)
While integrating proxy support in builder.py, a log flush
was left in the code.  This commit cleans/removes that code.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/testing/infra/builder.py

index 30230fdb17711439f081329d20fb1c7e91d32759..fc318fe26e2abfa3690436a3e39af970254c2e2a 100644 (file)
@@ -38,7 +38,6 @@ class Builder(object):
         if "http_proxy" in os.environ:
             self.logfile.write("Using system proxy: " +
                                os.environ["http_proxy"] + "\n")
-            self.logfile.flush()
             env['http_proxy'] = os.environ["http_proxy"]
             env['https_proxy'] = os.environ["http_proxy"]
         cmd = ["make", "-C", self.builddir]