wikimedia / pywikibot-core (master)
Build #2869 has errored.
27 minutes and 50 seconds
xqt 3a4d184 Changeset →
  [FIX] Close file handle before removing a tempory file.

mkstemp() returns a tuple containing OS-level file handle to an open file
and the absolute pathname of that file. The file might be reopended several
times and closed by with-statement. But the first file handle opened
by mkstemp() keeps still open. It must be closed explicitly.

Bug: T113127
Change-Id: Icf104ebee21448b405c9e4671e112d68cda68597

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! Sign up here.

Would you like to test your private code?

Travis Pro could be your new best friend!