diff options
author | Aneesh Kumar <aneesh.kumar@gmail.com> | 2006-02-24 09:32:32 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-24 12:14:34 +0100 |
commit | 8b42f5ae545d494463e72430fd81a0c0c558c881 (patch) | |
tree | eec68eeb795993a69129a14c2659f26d3a0854a3 /contrib/gitview | |
parent | Merge fixes early for next maint series. (diff) | |
download | git-8b42f5ae545d494463e72430fd81a0c0c558c881.tar.xz git-8b42f5ae545d494463e72430fd81a0c0c558c881.zip |
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>
Diffstat (limited to 'contrib/gitview')
-rwxr-xr-x | contrib/gitview/gitview | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview index b04df74162..4a6b44842d 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 |