Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/model.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2008-05-21 17:50:41 (GMT)
committer Simon Schampijer <simon@schampijer.de>2008-05-21 17:50:41 (GMT)
commited24f85ead3b9299aea56d853fc58c542d3207f4 (patch)
treec535d382cc58a70fad7513a38bb9c29d30af93ca /model.py
parentf535de7394b9d7279e59b62b0f0ede82106036ff (diff)
First round of pylint fixes.
Diffstat (limited to 'model.py')
-rw-r--r--model.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/model.py b/model.py
index ae2d505..2bad449 100644
--- a/model.py
+++ b/model.py
@@ -16,7 +16,6 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
-import os
import json
import sha
import gobject
@@ -48,8 +47,9 @@ class Model(gobject.GObject):
{'hash':sha.new(str(url)).hexdigest(),
'url':str(url), 'title':str(title),
'thumb':base64.b64encode(thumb),
- 'owner':str(owner), 'color':str(color),
- 'timestamp':float(timestamp)} )
+ 'owner':str(owner),
+ 'color':str(color),
+ 'timestamp':float(timestamp)})
self.emit('add_link', index)
def remove_link(self, hash):