зеркало из https://github.com/microsoft/git.git
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:
Родитель
a68de9592e
Коммит
8b42f5ae54
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче