minor update (preparing for switching to HashDB from old sessionFile)

This commit is contained in:
Miroslav Stampar
2012-02-10 10:24:48 +00:00
parent 7bca926a0b
commit b140ef4a14
2 changed files with 18 additions and 8 deletions

View File

@@ -3203,3 +3203,6 @@ def incrementCounter(counter):
if counter not in kb.counters:
resetCounter(counter)
kb.counters[counter] += 1
def getCounter(counter):
return kb.counters.get(counter, 0)