git.samba.org
/
build-farm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7004ea
)
Use the correct form for cmp
author
Matthieu Patou
<mat@matws.net>
Thu, 11 Nov 2010 19:50:53 +0000
(22:50 +0300)
committer
Matthieu Patou
<mat@matws.net>
Thu, 11 Nov 2010 19:50:53 +0000
(22:50 +0300)
web/build.py
patch
|
blob
|
history
diff --git
a/web/build.py
b/web/build.py
index 977f16e02c686f5290f7cf72ab51ff9d7634e965..b28eb85580f9323eb93b49e28b8e0c583e1c42cb 100755
(executable)
--- a/
web/build.py
+++ b/
web/build.py
@@
-264,7
+264,7
@@
def view_recent_builds(myself, tree, sort_by):
"host": lambda a, b: cmp(a[2], b[2]),
"platform": lambda a, b: cmp(a[1], b[1]),
"compiler": lambda a, b: cmp(a[3], b[3]),
- "status": lambda a, b:
a[6].cmp(
b[6]),
+ "status": lambda a, b:
cmp(a[6],
b[6]),
}
assert tree in trees, "not a build tree"