comparison src/memory/sqlite.py @ 588:beaf6bec2fcd

Remove every old-style class.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:55:35 +0100
parents 952322b1d490
children e5a875a3311b
comparison
equal deleted inserted replaced
587:952322b1d490 588:beaf6bec2fcd
25 from twisted.internet import defer 25 from twisted.internet import defer
26 import os.path 26 import os.path
27 import time 27 import time
28 import cPickle as pickle 28 import cPickle as pickle
29 29
30 class SqliteStorage(): 30 class SqliteStorage(object):
31 """This class manage storage with Sqlite database""" 31 """This class manage storage with Sqlite database"""
32 32
33 33
34 def __init__(self, db_filename): 34 def __init__(self, db_filename):
35 """Connect to the given database 35 """Connect to the given database