Changeset 2034 for pykota/trunk
- Timestamp:
- 01/19/05 10:00:54 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/dumper.py
r2032 r2034 21 21 # 22 22 # $Log$ 23 # Revision 1.3 2005/01/19 09:00:54 jalet 24 # Small fix for Python2.1 and variables scopes 25 # 23 26 # Revision 1.2 2005/01/19 08:49:41 jalet 24 27 # Now dumpykota.cgi behaves like printquota.cgi wrt the REMOTE_USER environment … … 152 155 sortindex = fields["jobdate"] 153 156 entries = entries[1:] 154 entries.sort(lambda m,n : cmp(m[sortindex], n[sortindex]))157 entries.sort(lambda m,n,si=sortindex : cmp(m[si], n[si])) 155 158 for entry in entries[1:] : 156 159 printername = entry[fields["printername"]]