Skip to content

Commit

Permalink
Display '' for slaves with no admin set on buildslaves page
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris AtLee committed Mar 8, 2010
1 parent 161d7fc commit a9662ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildbot/status/web/slaves.py
Expand Up @@ -108,7 +108,7 @@ def content(self, request, ctx):
info['connected'] = slave.isConnected()

if slave.isConnected():
info['admin'] = unicode(slave.getAdmin(), 'utf-8')
info['admin'] = unicode(slave.getAdmin() or '', 'utf-8')
last = slave.lastMessageReceived()
if last:
info['last_heard_from_age'] = abbreviate_age(time.time() - last)
Expand Down

0 comments on commit a9662ca

Please sign in to comment.