Skip to content

Commit

Permalink
WebStatus: allow not specifying any auth database.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomprince authored and djmitche committed Sep 3, 2011
1 parent 681bfa1 commit e31a8b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion master/buildbot/status/web/baseweb.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@ def setServiceParent(self, parent):
self.master = parent

# set master in IAuth instance
self.authz.auth.master = self.master
if self.authz.auth:
self.authz.auth.master = self.master

def either(a,b): # a if a else b for py2.4
if a:
Expand Down

0 comments on commit e31a8b5

Please sign in to comment.