openbsd-ports/devel/goopy/patches/patch-goopy_functional_py
xsa f317825bc3 Initial import of goopy-0.1
Google utilities written in Python.

Submitted and maintained by mpech@.
2005-03-22 13:15:03 +00:00

13 lines
367 B
Plaintext

$OpenBSD: patch-goopy_functional_py,v 1.1.1.1 2005/03/22 13:15:03 xsa Exp $
--- goopy/functional.py.orig Mon Mar 21 19:26:00 2005
+++ goopy/functional.py Mon Mar 21 19:26:07 2005
@@ -184,7 +184,7 @@ def maximum(cmp, lst):
for i in xrange(1, len(lst)):
v = lst[i]
- if cmp(maxval, v) <= 0:
+ if cmp(maxval, v) < 0:
maxval = v
return maxval