Changeset 2241 for pykota/trunk/pykota/tool.py
- Timestamp:
- 05/09/05 13:41:20 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
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 ?