Changeset 2889 for pykota/trunk/bin/cupspykota
- Timestamp:
- 05/18/06 20:18:00 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r2886 r2889 255 255 self.JobId = sys.argv[1].strip() 256 256 # use CUPS' user when printing test pages from CUPS' web interface 257 self.UserName = sys.argv[2].strip() or pwd.getpwuid(os.geteuid())[0]257 self.UserName = sys.argv[2].strip() or self.originalUserName or pwd.getpwuid(os.geteuid())[0] 258 258 self.Title = sys.argv[3].strip() 259 259 self.Copies = int(sys.argv[4].strip())