Mercurial > hg > Feedworm
diff backend/couchdb/Preferences.py @ 233:e34c53a3e407
fixes from eric's style check
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 25 Sep 2014 17:26:34 +0200 |
parents | bb3c851b18b1 |
children | 7c719c4f5655 |
line wrap: on
line diff
--- a/backend/couchdb/Preferences.py Thu Sep 25 17:10:40 2014 +0200 +++ b/backend/couchdb/Preferences.py Thu Sep 25 17:26:34 2014 +0200 @@ -21,7 +21,7 @@ row = iter(viewResults).next() self.document = self.database[row.id] except StopIteration: - empty = { "doctype" : "preferences" } + empty = {"doctype": "preferences"} doc_id, doc_rev = self.database.save(empty) #@UnusedVariable self.document = self.database[doc_id]