Merge pull request #5914 from encode/xordoquy/fix_release_notes

release_notes: fix call to super().data
This commit is contained in:
Xavier Ordoquy 2018-04-04 13:29:48 +00:00 committed by GitHub
commit 3365ec23ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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