projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a68de95
)
gitview: Fix DeprecationWarning
author
Aneesh Kumar
<aneesh.kumar@gmail.com>
Fri, 24 Feb 2006 08:32:32 +0000
(14:02 +0530)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 24 Feb 2006 11:14:34 +0000
(
03:14
-0800)
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>
contrib/gitview/gitview
patch
|
blob
|
history
diff --git
a/contrib/gitview/gitview
b/contrib/gitview/gitview
index
b04df74
..
4a6b448
100755
(executable)
--- 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