Changeset 2219

Show
Ignore:
Timestamp:
04/25/05 11:43:39 (19 years ago)
Author:
jerome
Message:

The data dumper didn't export the oldest job history entry when dumping
in CUPS' page_log format. This is now fixed.

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/NEWS

    r2218 r2219  
    2424    - 1.22alpha8 : 
    2525     
     26        - Fixed the dump in CUPS' page_log format which didn't 
     27          dump the oldest entry. 
     28           
    2629        - The data dumper now accepts billingcode= and hostname= as 
    2730          filters when dumping the job history. 
  • pykota/trunk/pykota/dumper.py

    r2218 r2219  
    142142        entries = entries[1:] 
    143143        entries.sort(lambda m,n,si=sortindex : cmp(m[si], n[si])) 
    144         for entry in entries[1:] :     
     144        for entry in entries :     
    145145            printername = entry[fields["printername"]] 
    146146            username = entry[fields["username"]]