diff mercurial/ui.py @ 8198:cf9accffd0b3

config: getsource -> source
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Apr 2009 16:50:43 -0500
parents d94f17c27505
children e9f90e5989d9
line wrap: on
line diff
--- a/mercurial/ui.py	Sun Apr 26 16:50:43 2009 -0500
+++ b/mercurial/ui.py	Sun Apr 26 16:50:43 2009 -0500
@@ -133,7 +133,7 @@
         return self.cdata
 
     def configsource(self, section, name, untrusted=False):
-        return self._get_cdata(untrusted).getsource(section, name) or 'none'
+        return self._get_cdata(untrusted).source(section, name) or 'none'
 
     def config(self, section, name, default=None, untrusted=False):
         value = self._get_cdata(untrusted).get(section, name, default)