add marker for possible future change: check for new index upon call to indeTrack()
This commit is contained in:
parent
d4d7a47b09
commit
2bc3267e9b
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 Helmut Merz helmutm@cy55.de
|
# Copyright (c) 2014 Helmut Merz helmutm@cy55.de
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -18,8 +18,6 @@
|
||||||
|
|
||||||
"""
|
"""
|
||||||
ZODB-/BTree-based implementation of user interaction tracking.
|
ZODB-/BTree-based implementation of user interaction tracking.
|
||||||
|
|
||||||
$Id$
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
@ -237,6 +235,7 @@ class TrackingStorage(BTreeContainer):
|
||||||
self.unindexTrack(trackNum, track)
|
self.unindexTrack(trackNum, track)
|
||||||
|
|
||||||
def indexTrack(self, trackNum, track, idx=None):
|
def indexTrack(self, trackNum, track, idx=None):
|
||||||
|
#self.setupIndexes()
|
||||||
if not trackNum:
|
if not trackNum:
|
||||||
trackNum = int(track.__name__)
|
trackNum = int(track.__name__)
|
||||||
data = track.indexdata
|
data = track.indexdata
|
||||||
|
|
Loading…
Add table
Reference in a new issue