Show
Ignore:
Timestamp:
05/09/05 09:10:54 (19 years ago)
Author:
jerome
Message:

Fix for strange values in job-originating-hostname

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r2217 r2239  
    221221            self.logdebug("Client Hostname : %s" % (clienthost or "Unknown"))     
    222222            self.logdebug("Billing Code : %s" % (billingcode or "None"))     
    223             os.environ["PYKOTAJOBORIGINATINGHOSTNAME"] = clienthost or "" 
    224             os.environ["PYKOTAJOBBILLING"] = billingcode or "" 
     223            os.environ["PYKOTAJOBORIGINATINGHOSTNAME"] = str(clienthost or "") 
     224            os.environ["PYKOTAJOBBILLING"] = str(billingcode or "") 
    225225             
    226226            # enters first phase