summaryrefslogtreecommitdiffstats
path: root/Lib/ConfigParser.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-06-01 00:57:55 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-06-01 00:57:55 (GMT)
commit0f4940c0a8d2ac66ccf90fb12739967915043406 (patch)
treebf41a9f6c5a0552cd04a7365fe32f67db26bc48f /Lib/ConfigParser.py
parent8989ea6ce1619890adc58778fb5516a36053cadb (diff)
downloadcpython-0f4940c0a8d2ac66ccf90fb12739967915043406.zip
cpython-0f4940c0a8d2ac66ccf90fb12739967915043406.tar.gz
cpython-0f4940c0a8d2ac66ccf90fb12739967915043406.tar.bz2
Replaced boolean test with 'is None'
Diffstat (limited to 'Lib/ConfigParser.py')
-rw-r--r--Lib/ConfigParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py
index e52f620..f457e72 100644
--- a/Lib/ConfigParser.py
+++ b/Lib/ConfigParser.py
@@ -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: