Fix PEP8 E713 - test for membership should be "not in"

This commit is contained in:
Pedro Algarvio 2014-06-06 09:35:43 +01:00
parent 8048381ee8
commit fcaa325150

View File

@ -109,7 +109,7 @@ def options_absent(name, sections=None):
key)
if not current_value:
continue
if not section in ret['changes']:
if section not in ret['changes']:
ret['changes'].update({section: {}})
ret['changes'][section].update({key: {'before': current_value,
'after': None}})