|
|
@@ -313,6 +313,11 @@ class StreamInserter(object): |
|
|
|
part of a new interval and there may be a gap left in-between.""" |
|
|
|
self._send_block(final = True) |
|
|
|
|
|
|
|
def send(self): |
|
|
|
"""Send any data that we might have buffered up. Does not affect |
|
|
|
any other treatment of timestamps or endpoints.""" |
|
|
|
self._send_block(final = False) |
|
|
|
|
|
|
|
def _get_first_noncomment(self, block): |
|
|
|
"""Return the (start, end) indices of the first full line in |
|
|
|
block that isn't a comment, or raise IndexError if |
|
|
|