python-modernize -f libmodernize.fixes.fix_dict_six

This commit is contained in:
Tomas Kopecek 2018-06-28 16:54:03 +02:00 committed by Mike McLean
parent b96092334d
commit bcee24e50c
20 changed files with 130 additions and 112 deletions

View file

@ -80,7 +80,7 @@ class FakeConfigParser(object):
return
def sections(self):
return self.CONFIG.keys()
return list(self.CONFIG.keys())
def has_option(self, section, key):
return section in self.CONFIG and key in self.CONFIG[section]