python-modernize -f libmodernize.fixes.fix_dict_six
This commit is contained in:
parent
b96092334d
commit
bcee24e50c
20 changed files with 130 additions and 112 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue