Show
Ignore:
Timestamp:
07/28/05 18:50:00 (19 years ago)
Author:
jerome
Message:

Moved some code around so that when the job ticket can be overwritten, the
client hostname is known. This allows easier client/server user interactivity :-)
Severity : high, if you downloaded the code 5 minutes ago :-)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/tool.py

    r2393 r2395  
    665665        self.username = self.username or pwd.getpwuid(os.geteuid())[0] # use CUPS' user when printing test page from CUPS web interface, otherwise username is empty 
    666666         
     667        if self.printingsystem == "CUPS" : 
     668            self.extractDatasFromCups() 
     669         
    667670        (newusername, newbillingcode, newaction) = self.overwriteJobTicket() 
    668671        if newusername :