Empty configuration files generate an exception

Bug #1748159 reported by Stephen Finucane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
reno
New
Low
Unassigned

Bug Description

# Steps to reproduce

1. Create an file in 'releasenotes/config.yaml' containing only the following:

       ---
       # some comment

2. Build docs

# Expected result

Docs build, ignoring the empty configuration file.

# Actual result

The following exception occurs:

  [reno.config] loaded configuration file /tmp/reno-bug-1/releasenotes/config.yaml

  Exception occurred:
      File "/tmp/reno-bug-1/.venv/lib/python2.7/site-packages/reno/config.py", line 224, in _load_file
      self.override(**self._contents)
  TypeError: override() argument after ** must be a mapping, not NoneType

Changed in reno:
importance: Undecided → Low
status: New → Confirmed
status: Confirmed → New
Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

The bug tracker for reno has moved to storyboard: https://storyboard.openstack.org/#!/project/933

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.