{"thread":{"id":"3479","subject":"gitview: Remove trailing white space","startedAt":"2006-02-27T17:12:07Z","lastAt":"2006-02-27T17:12:07Z","messageCount":1,"participants":["Aneesh Kumar K.V"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"16834","messageId":"440332E7.70201@gmail.com","threadId":"3479","inReplyTo":null,"subject":"gitview: Remove trailing white space","fromName":"Aneesh Kumar K.V","fromEmail":"aneesh.kumar@gmail.com","sentAt":"2006-02-27T17:12:07Z","receivedAt":"2006-02-27T17:12:07Z","isPatch":false,"sender":{"key":"aneesh.kumar@gmail.com","avatar":"https://gravatar.com/avatar/0621fc0b2f14ead1e9024382f16053a808c148596da30c1b92572fa075621f68?d=mp&s=160"},"body":"\n\nSubject: gitview: Remove trailing white space\n\nDo the cleanup using Dave jones vim script\n\nSigned-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>\n\n---\n\n contrib/gitview/gitview |   22 +++++++++++-----------\n 1 files changed, 11 insertions(+), 11 deletions(-)\n\n69e8209d5152b187dbcf2c09c5db5ae7534a80d5\ndiff --git a/contrib/gitview/gitview b/contrib/gitview/gitview\nindex 1d042e3..048caf6 100755\n--- a/contrib/gitview/gitview\n+++ b/contrib/gitview/gitview\n@@ -162,7 +162,7 @@ class CellRendererGraph(gtk.GenericCellR\n \t\t\tfor item in names:\n \t\t\t\tnames_len += len(item)\n \n-\t\twidth = box_size * (cols + 1 ) + names_len \n+\t\twidth = box_size * (cols + 1 ) + names_len\n \t\theight = box_size\n \n \t\t# FIXME I have no idea how to use cell_area properly\n@@ -261,11 +261,11 @@ class Commit:\n \tchildren_sha1 = {}\n \n \tdef __init__(self, commit_lines):\n-\t\tself.message \t\t= \"\"\n+\t\tself.message\t\t= \"\"\n \t\tself.author\t\t= \"\"\n-\t\tself.date \t\t= \"\"\n-\t\tself.committer \t\t= \"\"\n-\t\tself.commit_date \t= \"\"\n+\t\tself.date\t\t= \"\"\n+\t\tself.committer\t\t= \"\"\n+\t\tself.commit_date\t= \"\"\n \t\tself.commit_sha1\t= \"\"\n \t\tself.parent_sha1\t= [ ]\n \t\tself.parse_commit(commit_lines)\n@@ -426,7 +426,7 @@ class GitView:\n \n \tdef __init__(self, with_diff=0):\n \t\tself.with_diff = with_diff\n-\t\tself.window =  \tgtk.Window(gtk.WINDOW_TOPLEVEL)\n+\t\tself.window =\tgtk.Window(gtk.WINDOW_TOPLEVEL)\n \t\tself.window.set_border_width(0)\n \t\tself.window.set_title(\"Git repository browser\")\n \n@@ -878,15 +878,15 @@ class GitView:\n \n \t\t# Reset nodepostion\n \t\tif (last_nodepos > 5):\n-\t\t\tlast_nodepos = -1 \n+\t\t\tlast_nodepos = -1\n \n \t\t# Add the incomplete lines of the last cell in this\n \t\ttry:\n \t\t\tcolour = self.colours[commit.commit_sha1]\n \t\texcept KeyError:\n \t\t\tself.colours[commit.commit_sha1] = last_colour+1\n-\t\t\tlast_colour = self.colours[commit.commit_sha1] \n-\t\t\tcolour =   self.colours[commit.commit_sha1] \n+\t\t\tlast_colour = self.colours[commit.commit_sha1]\n+\t\t\tcolour =   self.colours[commit.commit_sha1]\n \n \t\ttry:\n \t\t\tnode_pos = self.nodepos[commit.commit_sha1]\n@@ -918,7 +918,7 @@ class GitView:\n \t\t\t\tself.colours[parent_id] = last_colour+1\n \t\t\t\tlast_colour = self.colours[parent_id]\n \t\t\t\tself.nodepos[parent_id] = last_nodepos+1\n-\t\t\t\tlast_nodepos = self.nodepos[parent_id] \n+\t\t\t\tlast_nodepos = self.nodepos[parent_id]\n \n \t\t\tin_line.append((node_pos, self.nodepos[parent_id],\n \t\t\t\t\t\tself.colours[parent_id]))\n@@ -954,7 +954,7 @@ class GitView:\n \t\t\ttry:\n \t\t\t\tnext_commit = self.commits[index+1]\n \t\t\t\tif (next_commit.commit_sha1 == sha1 and pos != int(pos)):\n-\t\t\t\t# join the line back to the node point \n+\t\t\t\t# join the line back to the node point\n \t\t\t\t# This need to be done only if we modified it\n \t\t\t\t\tin_line.append((pos, pos-0.5, self.colours[sha1]))\n \t\t\t\t\tcontinue;\n-- \n1.2.3.g2cf3-dirty\n\n"}]}