Changeset 2525
- Timestamp:
- 09/29/05 13:44:32 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/cgi-bin/pykotme.cgi
r2524 r2525 155 155 self.body += "<p>%s</p>" % (_("Job size : %i pages") % jobsize) 156 156 157 remuser = os.environ.get("REMOTE_USER" , "root")157 remuser = os.environ.get("REMOTE_USER") 158 158 # special hack to accomodate mod_auth_ldap Apache module 159 159 try : 160 160 remuser = remuser.split("=")[1].split(",")[0] 161 except IndexError:161 except : 162 162 pass 163 if remuser == "root":163 if not remuser : 164 164 self.body += "<p>%s</p>" % _("The exact cost of a print job can only be determined for a particular user. Please retry while logged-in.") 165 165 else :