commit | 71d5b8bc79b4c2a89422836e6f7169f16a2d3640 | [log] [tgz] |
---|---|---|
author | Brendan Jackman <brendan.jackman@arm.com> | Thu Oct 12 14:39:27 2017 +0100 |
committer | Brendan Jackman <brendan.jackman@arm.com> | Thu Oct 12 14:39:27 2017 +0100 |
tree | 1acebc1027636910358f58790cb19dc39974b6fe | |
parent | 5421ddaae8b7431ca504a454b3fc8595e098a3bb [diff] |
LogcatMonitor: Fix clear_log
diff --git a/devlib/utils/android.py b/devlib/utils/android.py index b7c73e6..318b4d0 100644 --- a/devlib/utils/android.py +++ b/devlib/utils/android.py
@@ -607,7 +607,7 @@ return [line for line in fh] def clear_log(self): - with open(self._logfile, 'w') as fh: + with open(self._logfile.name, 'w') as fh: pass def search(self, regexp):