From 2937c3bd6347ee8e916a05bb18ef9bef914ed8bd Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Sat, 21 May 2011 12:20:28 +0000 Subject: Fix overlong lines Signed-off-by: Sascha Silbe --- (limited to 'model.py') diff --git a/model.py b/model.py index 852e8e8..504b84e 100644 --- a/model.py +++ b/model.py @@ -44,13 +44,11 @@ class Model(gobject.GObject): index = self.data['shared_links'].index(item) 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)}) + info = {'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.data['shared_links'].insert(index, info) self.emit('add_link', index) def remove_link(self, hash): -- cgit v0.9.1