summaryrefslogtreecommitdiff
path: root/GstDebugViewer/Data.py
diff options
context:
space:
mode:
Diffstat (limited to 'GstDebugViewer/Data.py')
-rw-r--r--GstDebugViewer/Data.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/GstDebugViewer/Data.py b/GstDebugViewer/Data.py
index cb27e24..c837e00 100644
--- a/GstDebugViewer/Data.py
+++ b/GstDebugViewer/Data.py
@@ -178,16 +178,7 @@ class LineCache (Producer):
self.__file_size = self.__fileobj.tell ()
self.__fileobj.seek (0)
- from array import array
- offsets = array ("L")
- try:
- offsets.append (self.__file_size)
- except OverflowError:
- offsets = []
- else:
- del offsets[0]
- self.offsets = offsets
-
+ self.offsets = []
self.levels = [] # FIXME
def start_loading (self):