]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
teuthology/orchestra: open log file in Python3 way 1471/head
authorKefu Chai <kchai@redhat.com>
Tue, 12 May 2020 13:13:48 +0000 (21:13 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 12 May 2020 13:14:31 +0000 (21:14 +0800)
commit9874f7a24c6620e551d3c6e844dc63b9168b0c21
tree94ffd367e39ebc3e11cf90ecc21f9af82936f5b9
parentcdc9c33324eaca2e955a197e5a651b53dc02f073
teuthology/orchestra: open log file in Python3 way

otherwise we could have
```
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'file' is not defined
```

Fixes: https://tracker.ceph.com/issues/45512
Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/orchestra/console.py