diff mercurial/ui.py @ 4487:1b5b98837bb5

ui: Rename has_config to has_section.
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 27 May 2007 13:50:59 -0700
parents b11a2fb59cf5
children 5371a213b0f4
line wrap: on
line diff
--- a/mercurial/ui.py	Sun May 27 13:41:35 2007 -0700
+++ b/mercurial/ui.py	Sun May 27 13:50:59 2007 -0700
@@ -270,7 +270,7 @@
             result = result.replace(",", " ").split()
         return result
 
-    def has_config(self, section, untrusted=False):
+    def has_section(self, section, untrusted=False):
         '''tell whether section exists in config.'''
         cdata = self._get_cdata(untrusted)
         return cdata.has_section(section)