Mercurial > libervia-backend
diff src/memory/persistent.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 |
line wrap: on
line diff
--- a/src/memory/persistent.py Fri Jan 18 17:55:34 2013 +0100 +++ b/src/memory/persistent.py Fri Jan 18 17:55:35 2013 +0100 @@ -24,7 +24,7 @@ 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"""