Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/model.py
diff options
context:
space:
mode:
authorSascha Silbe <silbe@activitycentral.com>2011-05-21 12:12:10 (GMT)
committer Sascha Silbe <silbe@activitycentral.com>2011-05-21 12:24:25 (GMT)
commit14da529ec77941a93ed3066ed02a10113ffe31d5 (patch)
tree8e9e741410c0d0d3a08296143a1f40f5ac2a7bbd /model.py
parent7964449b0be7f941a533013b558a404db7873398 (diff)
fix PEP8 whitespace issues
Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
Diffstat (limited to 'model.py')
-rw-r--r--model.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/model.py b/model.py
index 65e5647..852e8e8 100644
--- a/model.py
+++ b/model.py
@@ -28,7 +28,7 @@ class Model(gobject.GObject):
'''
__gsignals__ = {
'add_link': (gobject.SIGNAL_RUN_FIRST,
- gobject.TYPE_NONE, ([int]))
+ gobject.TYPE_NONE, ([int])),
}
def __init__(self):
@@ -45,12 +45,12 @@ class Model(gobject.GObject):
break
self.data['shared_links'].insert(index,
- {'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)})
+ {'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)})
self.emit('add_link', index)
def remove_link(self, hash):