Forgot to vacuum, momma's gonna kill me!

This commit is contained in:
Jeremy Fincher 2004-09-28 20:09:39 +00:00
parent 0704c34fc7
commit e01a9d3bc5

View File

@ -39,6 +39,7 @@ import csv
import math import math
import sets import sets
import random import random
from itertools import ilen
import supybot.cdb as cdb import supybot.cdb as cdb
import supybot.utils as utils import supybot.utils as utils
@ -310,6 +311,9 @@ class DB(object):
def flush(self): def flush(self):
self.map.flush() self.map.flush()
def vacuum(self):
self.map.vacuum()
def close(self): def close(self):
self.map.close() self.map.close()