mirror of
https://github.com/clearml/clearml
synced 2025-01-31 17:17:00 +00:00
Fix Python 2.7 support
This commit is contained in:
parent
0e283dd514
commit
251cfa30a9
@ -211,7 +211,8 @@ class BackgroundReportService(BackgroundMonitor, AsyncManagerMixin):
|
||||
if self._async_enable:
|
||||
self._add_async_result(res)
|
||||
else:
|
||||
self._processing_events.clear()
|
||||
# python 2.7 style clear()
|
||||
self._processing_events[:] = []
|
||||
|
||||
def send_all_events(self, wait=True):
|
||||
self._write()
|
||||
|
Loading…
Reference in New Issue
Block a user