comparison roundup/cgi/templating.py @ 1163:cc67cc87cc9c

oops
author Richard Jones <richard@users.sourceforge.net>
date Wed, 18 Sep 2002 00:57:54 +0000
parents 420de8f2d308
children 7b448a2425fd
comparison
equal deleted inserted replaced
1162:86d41c31f9be 1163:cc67cc87cc9c
324 else: 324 else:
325 klass = HTMLItem 325 klass = HTMLItem
326 326
327 # get the list and sort it nicely 327 # get the list and sort it nicely
328 l = self._klass.list() 328 l = self._klass.list()
329 sortfunc = make_sort_function(self._db, self._prop.classname) 329 sortfunc = make_sort_function(self._db, self.classname)
330 l.sort(sortfunc) 330 l.sort(sortfunc)
331 331
332 l = [klass(self._client, self.classname, x) for x in l] 332 l = [klass(self._client, self.classname, x) for x in l]
333 return l 333 return l
334 334

Roundup Issue Tracker: http://roundup-tracker.org/