Skip to content

Commit

Permalink
catch requests for avatar 'change' and give a reasonable error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Apr 9, 2010
1 parent fc203f6 commit fe968e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildbot/master.py
Expand Up @@ -351,6 +351,8 @@ def requestAvatar(self, avatarID, mind, interface):
afactory = self.names.get(avatarID)
if afactory:
p = afactory.getPerspective()
elif avatarID == "change":
raise ValueError("no PBChangeSource installed")
elif avatarID == "debug":
p = DebugPerspective()
p.master = self.master
Expand Down

0 comments on commit fe968e0

Please sign in to comment.