mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 20:22:45 +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 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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user