@matheusbsbs / matheus-bagliano / commits / 8b42f5ae54
Fork 0

gitview: Fix DeprecationWarning

DeprecationWarning: integer argument expected, got float Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>

Aneesh Kumar committed Feb 24, 2006 at 14:02 UTC 8b42f5ae545d494463e72430fd81a0c0c558c881
1 file changed +1 -1
contrib/gitview/gitview
+1 -1
@@ -154,7 +154,7 @@ class CellRendererGraph(gtk.GenericCellRenderer):
154
155 cols = self.node[0]
156 for start, end, colour in self.in_lines + self.out_lines:
157 - cols = max(cols, start, end)
157 + cols = int(max(cols, start, end))
158
159 (column, colour, names) = self.node
160 names_len = 0