Handle blueprints with empty whiteboards.
Fix bug 868377 Change-Id: I2e87e2ff380c2309b25321d22356a5b91ffd3de6
This commit is contained in:
@@ -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)],
|
||||
|
||||
Reference in New Issue
Block a user