mirror of
https://github.com/ARM-software/devlib.git
synced 2025-04-17 07:10:03 +01:00
Merge pull request #191 from bjackman/master
LogcatMonitor: Fix clear_log
This commit is contained in:
commit
9837b4012b
@ -607,7 +607,7 @@ class LogcatMonitor(object):
|
|||||||
return [line for line in fh]
|
return [line for line in fh]
|
||||||
|
|
||||||
def clear_log(self):
|
def clear_log(self):
|
||||||
with open(self._logfile, 'w') as fh:
|
with open(self._logfile.name, 'w') as fh:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def search(self, regexp):
|
def search(self, regexp):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user