diff options
author | Lucian Branescu Mihaila <lucian.branescu@gmail.com> | 2010-06-17 23:49:07 (GMT) |
---|---|---|
committer | Lucian Branescu Mihaila <lucian.branescu@gmail.com> | 2010-06-17 23:49:07 (GMT) |
commit | 87b61970631dfbe825fe9c7c2678934b37ecc880 (patch) | |
tree | bafb9a6c848f830a3ec354acc1059de2b5491697 /model.py | |
parent | c6b5a1509d612bfe23692ea294152df0b7cbb870 (diff) |
Fix some pep8 violations.
Diffstat (limited to 'model.py')
-rw-r--r-- | model.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -65,9 +65,9 @@ class Model(gobject.GObject): def deserialize(self, data): self.data = cjson.decode(data) - if not self.data.has_key('shared_links'): + if 'shared_links' not in self.data: self.data['shared_links'] = [] - if not self.data.has_key('deleted'): + if 'deleted' not in self.data: self.data['deleted'] = [] def get_links_ids(self): |