diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-06-16 17:58:25 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2010-06-16 17:58:25 (GMT) |
commit | bf73fce4c2eb8b973aa10dfee1f91aadff4bf367 (patch) | |
tree | a31cf85fd6cc7d6aada27ee49c22fcbc73405803 /places.py | |
parent | 09cc6048656b29eebec3b0502fa342dd516b4281 (diff) |
add/remove some empty lines according to PEP8
Diffstat (limited to 'places.py')
-rw-r--r-- | places.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,6 +22,7 @@ from sugar.activity import activity _store = None + class Place(object): def __init__(self, uri=None): self.uri = uri @@ -31,6 +32,7 @@ class Place(object): self.visits = 0 self.last_visit = datetime.now() + class SqliteStore(object): MAX_SEARCH_MATCHES = 20 EXPIRE_DAYS = 30 @@ -131,6 +133,7 @@ class SqliteStore(object): finally: cursor.close() + def get_store(): global _store if _store == None: |