Merge "warn when we can't find the version and skip reno"

This commit is contained in:
Jenkins 2016-10-07 15:38:11 +00:00 committed by Gerrit Code Review
commit c04b4a2b9a
1 changed files with 4 additions and 0 deletions

View File

@ -331,6 +331,10 @@ def generate_release_notes(library, library_path,
)
reno_notes = rst2txt.convert(rst_notes).decode('utf-8')
else:
sys.stderr.write(
'WARNING: Did not find revision %r in %r, skipping reno' %
(end_revision, ldr.versions)
)
reno_notes = ''
params = dict(readme_sections)