Changeset 2396

Show
Ignore:
Timestamp:
07/29/05 10:41:34 (19 years ago)
Author:
jerome
Message:

Fixed username in the case it was overwritten because of the overwrite_jobticket
directive.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r2395 r2396  
    496496            # Here we absolutely WANT to remove any filename from the command line ! 
    497497            arguments = [ "Fake this because we are printing a banner" ] + sys.argv[1:6] 
     498        # in case the username was modified by an external command :     
     499        arguments[2] = self.username 
    498500             
    499501        self.regainPriv()