From: Aneesh Kumar Date: Fri, 24 Feb 2006 08:32:32 +0000 (+0530) Subject: gitview: Fix DeprecationWarning X-Git-Tag: v1.3.0-rc1~148 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b42f5ae545d494463e72430fd81a0c0c558c881;p=git.git gitview: Fix DeprecationWarning DeprecationWarning: integer argument expected, got float Signed-off-by: Aneesh Kumar K.V Signed-off-by: Junio C Hamano --- diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview index b04df7416..4a6b44842 100755 --- a/contrib/gitview/gitview +++ b/contrib/gitview/gitview @@ -154,7 +154,7 @@ class CellRendererGraph(gtk.GenericCellRenderer): cols = self.node[0] for start, end, colour in self.in_lines + self.out_lines: - cols = max(cols, start, end) + cols = int(max(cols, start, end)) (column, colour, names) = self.node names_len = 0