Changeset 57262ce
- Timestamp:
- Mar 25, 2009, 11:46:28 PM (16 years ago)
- Branches:
- master, debian, mac, no-cups, web
- Children:
- 64ee2c9
- Parents:
- edb8b23
- git-author:
- Edward Z. Yang <edwardzyang@…> (03/25/09 23:46:28)
- git-committer:
- Edward Z. Yang <edwardzyang@…> (03/25/09 23:46:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach-web/middleware.py
redb8b23 r57262ce 35 35 def __call__(self, environ, start_response): 36 36 if self.keytab: 37 subprocess.call(["kinit", self.krbname, "-k", "-t", self.keytab]) 37 try: 38 subprocess.call(["kinit", self.krbname, "-k", "-t", self.keytab]) 39 except OSError: 40 subprocess.call(["/usr/kerberos/bin/kinit", self.krbname, "-k", "-t", self.keytab]) 38 41 return self.app(environ, start_response) 39 42
Note: See TracChangeset
for help on using the changeset viewer.