Ignore:
Timestamp:
Feb 23, 2009, 7:21:04 PM (16 years ago)
Author:
Edward Z. Yang <edwardzyang@…>
Branches:
master, debian, mac, no-cups, web
Children:
1998d46
Parents:
7f1e63c
git-author:
Edward Z. Yang <edwardzyang@…> (02/23/09 19:21:04)
git-committer:
Edward Z. Yang <edwardzyang@…> (02/23/09 19:21:04)
Message:

Make keytab optional.

Signed-off-by: Edward Z. Yang <edwardzyang@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gutenbach-web/middleware.py

    r7f1e63c rb748ed1  
    2828    def __init__(self, app, global_conf=None):
    2929        self.app = app
    30         self.keytab = config["keytab"]
     30        try:
     31            self.keytab = config["keytab"]
     32        except KeyError:
     33            self.keytab = None
    3134    def __call__(self, environ, start_response):
    3235        if self.keytab:
Note: See TracChangeset for help on using the changeset viewer.