Mercurial > libervia-backend
diff src/memory/memory.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/memory.py Fri Jan 18 17:55:34 2013 +0100 +++ b/src/memory/memory.py Fri Jan 18 17:55:35 2013 +0100 @@ -37,7 +37,7 @@ SAVEFILE_DATABASE="/sat.db" -class Params(): +class Params(object): """This class manage parameters with xml""" ### TODO: add desciption in params @@ -528,7 +528,7 @@ self.host.bridge.paramUpdate(name, value, category, profile) self.storage.setIndParam(category, name, value, profile) -class Memory: +class Memory(object): """This class manage all persistent informations""" def __init__(self, host):