Changeset 1849

Show
Ignore:
Timestamp:
10/19/04 23:45:25 (20 years ago)
Author:
jalet
Message:

Now correctly logs command line arguments

Files:
1 modified

Legend:

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

    r1848 r1849  
    2222# 
    2323# $Log$ 
     24# Revision 1.132  2004/10/19 21:45:25  jalet 
     25# Now correctly logs command line arguments 
     26# 
    2427# Revision 1.131  2004/10/19 21:37:57  jalet 
    2528# Fixes recently introduced bug 
     
    10061009         self.originalbackend) = self.extractInfoFromCupsOrLprng() 
    10071010          
    1008         self.logdebug(_("Printing system %s, args=%s") % (str(self.printingsystem), " ".join(sys.argv))) 
     1011        arguments = " ".join(['"%s"' % arg for arg in sys.argv]) 
     1012        self.logdebug(_("Printing system %s, args=%s") % (str(self.printingsystem), arguments)) 
    10091013         
    10101014        self.username = self.username or 'root' # when printing test page from CUPS web interface, username is empty