release_notes: fix call to super().data

`super().data()` leads to a `TypeError` saying that 'ReturnDict' object
is not callable.
This commit is contained in:
Xavier Ordoquy 2018-04-04 15:21:36 +02:00
parent 2621e03aa3
commit 3a29eff5f8

View File

@ -74,7 +74,7 @@ You can determine your currently installed version using `pip show`:
""" """
Drop `maybe_none` field if None. Drop `maybe_none` field if None.
""" """
data = super().data() data = super().data
if 'maybe_none' in data and data['maybe_none'] is None: if 'maybe_none' in data and data['maybe_none'] is None:
del data['maybe_none'] del data['maybe_none']
return data return data