Replaced boolean test with 'is None'

This commit is contained in:
Raymond Hettinger 2002-06-01 00:57:55 +00:00
parent 8989ea6ce1
commit 0f4940c0a8
2 changed files with 5 additions and 5 deletions

View file

@ -270,7 +270,7 @@ class ConfigParser:
d = self.__defaults.copy()
d.update(sectdict)
# Update with the entry specific variables
if vars:
if vars is not None:
d.update(vars)
option = self.optionxform(option)
try: