|
@@ -234,7 +234,8 @@ class Session(object):
|
234
|
234
|
raise ParsingError('unsupported log format: %s' % self._format)
|
235
|
235
|
self.jat_version = doc['jat_version']
|
236
|
236
|
self.start = doc['start']
|
237
|
|
- self.sessid = doc.get('sessid', 'noid')
|
|
237
|
+ self.id = doc.get('id', 'noid')
|
|
238
|
+ self.test = doc.get('test')
|
238
|
239
|
self.finalized = doc.get('finalized', False)
|
239
|
240
|
self.end = doc.get('end')
|
240
|
241
|
self.lints = []
|
|
@@ -243,7 +244,7 @@ class Session(object):
|
243
|
244
|
self.eventtree = EventTree(self.eventlog._events)
|
244
|
245
|
self.lints += self.eventtree.lints
|
245
|
246
|
if not self.finalized:
|
246
|
|
- self.lints.append(Lint("session not finalized", self.sessid))
|
|
247
|
+ self.lints.append(Lint("session not finalized", self.id))
|
247
|
248
|
|
248
|
249
|
def load(fpath):
|
249
|
250
|
with open(fpath) as ylog:
|