forked from organicmaps/organicmaps
Hotfix for python
This commit is contained in:
parent
c05797f427
commit
0dbeb5eb16
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ class TestRunner:
|
|||
|
||||
def log_exec_file(self, filename, result=None):
|
||||
logstring = "BEGIN" if result is None else "END" #can be 0 or None. If we omit the explicit check for None, we get wrong result
|
||||
resstring = (" | result: {returncode}".format(returncode=result) if result else "")
|
||||
resstring = (" | result: {returncode}".format(returncode=result) if result is not None else "")
|
||||
with open(self.logfile, "a") as logf:
|
||||
logf.write("\n{logstring}: {filename}{resstring}\n".format(logstring=logstring, filename=filename, resstring=resstring))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue