Remove every old-style class.
This commit is contained in:
parent
27b3592e16
commit
88074cd284
1 changed files with 56 additions and 56 deletions
|
|
@ -24,7 +24,7 @@ from logging import debug, info, warning, error
|
|||
class MemoryNotInitializedError(Exception):
|
||||
pass
|
||||
|
||||
class PersistentDict:
|
||||
class PersistentDict(object):
|
||||
"""A dictionary which save persistently each value assigned
|
||||
/!\ be careful, each assignment means a database write
|
||||
/!\ Memory must be initialised before loading/setting value with instances of this class"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue