diff --git a/gerrit/update_blueprint.py b/gerrit/update_blueprint.py index 59b7a144..0049a83a 100755 --- a/gerrit/update_blueprint.py +++ b/gerrit/update_blueprint.py @@ -68,7 +68,10 @@ def update_spec(launchpad, project, name, subject, link, topic=None): spec = launchpad.projects[project].getSpecification(name=name) if not spec: return - wb = spec.whiteboard.strip() + if spec.whiteboard: + wb = spec.whiteboard.strip() + else: + wb = '' changed = False if topic: topiclink = '%s/#q,topic:%s,n,z' % (link[:link.find('/',8)],