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>
This commit is contained in:
Aneesh Kumar 2006-02-24 14:02:32 +05:30 коммит произвёл Junio C Hamano
Родитель a68de9592e
Коммит 8b42f5ae54
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -154,7 +154,7 @@ class CellRendererGraph(gtk.GenericCellRenderer):
cols = self.node[0] cols = self.node[0]
for start, end, colour in self.in_lines + self.out_lines: 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 (column, colour, names) = self.node
names_len = 0 names_len = 0