[Zope-Checkins] CVS: Zope/lib/python/DocumentTemplate/sequence -
SortEx.py:1.8.10.1
Andreas Jung
andreas at andreas-jung.com
Wed May 12 11:02:08 EDT 2004
Update of /cvs-repository/Zope/lib/python/DocumentTemplate/sequence
In directory cvs.zope.org:/tmp/cvs-serv7648/lib/python/DocumentTemplate/sequence
Modified Files:
Tag: Zope-2_7-branch
SortEx.py
Log Message:
#1299: fixed bug in sequence.sort()
=== Zope/lib/python/DocumentTemplate/sequence/SortEx.py 1.8 => 1.8.10.1 ===
--- Zope/lib/python/DocumentTemplate/sequence/SortEx.py:1.8 Tue Apr 1 05:45:24 2003
+++ Zope/lib/python/DocumentTemplate/sequence/SortEx.py Wed May 12 11:02:04 2004
@@ -98,7 +98,7 @@
else: akey = getattr(v, sk)
except (AttributeError, KeyError):
akey = None
- if not basic_type(akey):
+ if not basic_type(type(akey)):
try: akey = akey()
except: pass
k.append(akey)
More information about the Zope-Checkins
mailing list