Changeset 3552 for pykota/trunk
- Timestamp:
- 11/08/10 22:10:24 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/cups.py
r3547 r3552 83 83 # Only does this if there's a "@" in the username, otherwise we could break non-kerberized 84 84 # usernames containing a "/", like Samba/Windows usernames in some cases. 85 if self.OriginatingUserName.find("@") != -1 : 86 self.OriginatingUserName = self.OriginatingUserName.split("@", 1)[0].split("/")[0] 85 try : 86 if self.OriginatingUserName.find("@") != -1 : 87 self.OriginatingUserName = self.OriginatingUserName.split("@", 1)[0].split("/")[0] 88 except AttributeError : # None 89 pass 87 90 88 91 # The options weren't retrieved from the job ticket but from the