diff -r 544609e83317 -r 96752791c2b6 rset.py --- a/rset.py Mon Mar 23 17:38:30 2009 +0100 +++ b/rset.py Mon Mar 23 17:55:59 2009 +0100 @@ -179,8 +179,7 @@ else: entities = sorted(enumerate(self), key=lambda (i, e): keyfunc(e), reverse=reverse) - - for index, entity in entities: + for index, _ in entities: rows.append(self.rows[index]) descr.append(self.description[index]) rset.rowcount = len(rows) @@ -210,7 +209,7 @@ for idx, line in enumerate(self): if col >= 0: try: - key = self.get_entity(idx,col) + key = self.get_entity(idx, col) except NotAnEntity: key = line[col] else: