mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Forgot to vacuum, momma's gonna kill me!
This commit is contained in:
parent
0704c34fc7
commit
e01a9d3bc5
@ -39,6 +39,7 @@ import csv
|
||||
import math
|
||||
import sets
|
||||
import random
|
||||
from itertools import ilen
|
||||
|
||||
import supybot.cdb as cdb
|
||||
import supybot.utils as utils
|
||||
@ -310,6 +311,9 @@ class DB(object):
|
||||
def flush(self):
|
||||
self.map.flush()
|
||||
|
||||
def vacuum(self):
|
||||
self.map.vacuum()
|
||||
|
||||
def close(self):
|
||||
self.map.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user