Mercurial > libervia-backend
comparison src/memory/persistent.py @ 585:9902ec2d8d9b
Remove useless trailing semicolons.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:53:08 +0100 |
parents | ca13633d3b6b |
children | 952322b1d490 |
comparison
equal
deleted
inserted
replaced
584:1524c2c07256 | 585:9902ec2d8d9b |
---|---|
32 | 32 |
33 def __init__(self, namespace, profile=None): | 33 def __init__(self, namespace, profile=None): |
34 """@param namespace: unique namespace for this dictionary | 34 """@param namespace: unique namespace for this dictionary |
35 @param profile: profile which *MUST* exists, or None for general values""" | 35 @param profile: profile which *MUST* exists, or None for general values""" |
36 if not self.storage: | 36 if not self.storage: |
37 error(_("PersistentDict can't be used before memory initialisation")); | 37 error(_("PersistentDict can't be used before memory initialisation")) |
38 raise MemoryNotInitializedError | 38 raise MemoryNotInitializedError |
39 self._cache = {} | 39 self._cache = {} |
40 self.namespace = namespace | 40 self.namespace = namespace |
41 self.profile = profile | 41 self.profile = profile |
42 | 42 |