mercurial/config.py
changeset 13031 3da456d0c885
parent 11292 037d910734de
child 13664 53db4e2026ab
--- a/mercurial/config.py	Mon Nov 22 17:57:11 2010 +0100
+++ b/mercurial/config.py	Mon Nov 22 18:15:58 2010 +0100
@@ -130,7 +130,7 @@
                 name = m.group(1)
                 if sections and section not in sections:
                     continue
-                if self.get(section, name) != None:
+                if self.get(section, name) is not None:
                     del self._data[section][name]
                 continue