- Timestamp:
- 05/09/05 13:41:20 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r2239 r2241 24 24 - 1.23alpha1 : 25 25 26 - Sets current username to the user CUPS runs as instead of "root" 27 when printing test pages from CUPS' web interface (because 28 the username is empty in this case). 29 26 30 - Fix for strange values in job-originating-hostname 27 31 -
pykota/trunk/pykota/tool.py
r2229 r2241 654 654 self.logdebug(_("Printing system %s, args=%s") % (str(self.printingsystem), arguments)) 655 655 656 self.username = self.username or 'root' # when printing test page from CUPS web interface,username is empty656 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 657 657 658 658 # do we want to strip out the Samba/Winbind domain name ?