mercurial/dispatch.py
changeset 33499 0407a51b9d8c
parent 33053 ef46d432e2e4
child 33620 cc047a733f69
--- a/mercurial/dispatch.py	Tue Jul 11 08:52:55 2017 -0700
+++ b/mercurial/dispatch.py	Fri Jul 14 14:22:40 2017 -0700
@@ -916,7 +916,7 @@
     # version number and try updating.
     ct = util.versiontuple(n=2)
     worst = None, ct, ''
-    if ui.config('ui', 'supportcontact', None) is None:
+    if ui.config('ui', 'supportcontact') is None:
         for name, mod in extensions.extensions():
             testedwith = getattr(mod, 'testedwith', '')
             if pycompat.ispy3 and isinstance(testedwith, str):
@@ -950,7 +950,7 @@
                      '** If that fixes the bug please report it to %s\n')
                    % (name, testedwith, name, report))
     else:
-        bugtracker = ui.config('ui', 'supportcontact', None)
+        bugtracker = ui.config('ui', 'supportcontact')
         if bugtracker is None:
             bugtracker = _("https://mercurial-scm.org/wiki/BugTracker")
         warning = (_("** unknown exception encountered, "