Show
Ignore:
Timestamp:
10/05/08 11:21:53 (16 years ago)
Author:
jerome
Message:

Changed the way informations are output, especially to replace 'print'
statements which won't exist anymore in Python 3.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkinvoice

    r3413 r3429  
    264264        if outfname != "-" : 
    265265            nbusers = len(peruser) 
    266             print _("Invoiced %(nbusers)i users for %(nbjobs)i jobs, %(nbpages)i pages and %(nbcredits).3f credits") \ 
    267                      % locals() 
     266            self.display("%s\n" % (_("Invoiced %(nbusers)i users for %(nbjobs)i jobs, %(nbpages)i pages and %(nbcredits).3f credits") \ 
     267                     % locals())) 
    268268 
    269269if __name__ == "__main__" :