Changeset 3547 for pykota/trunk/pykota/cups.py
- Timestamp:
- 08/17/10 03:08:14 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/cups.py
r3498 r3547 86 86 self.OriginatingUserName = self.OriginatingUserName.split("@", 1)[0].split("/")[0] 87 87 88 # The options weren't retrieved from the job ticket but from the 89 # command line instead, so they already are in unicode form. 90 # That's why we convert them back to the ticket's charset. 91 try : 92 self.Options = self.Options.encode(self.Charset, "replace") 93 except AttributeError : 94 pass 95 88 96 for attrib in ("OriginatingUserName", 89 97 "OriginatingHostName",