mercurial/ui.py
changeset 14859 dccecfaebdd2
parent 14738 bcc1a9fd0b8c
child 14922 1bc970a77977
--- a/mercurial/ui.py	Tue Jul 12 16:27:03 2011 -0500
+++ b/mercurial/ui.py	Tue Jul 12 16:36:22 2011 -0500
@@ -46,7 +46,7 @@
     def copy(self):
         return self.__class__(self)
 
-    def _is_trusted(self, fp, f):
+    def _trusted(self, fp, f):
         st = util.fstat(fp)
         if util.isowner(st):
             return True
@@ -75,7 +75,7 @@
             raise
 
         cfg = config.config()
-        trusted = sections or trust or self._is_trusted(fp, filename)
+        trusted = sections or trust or self._trusted(fp, filename)
 
         try:
             cfg.read(filename, fp, sections=sections, remap=remap)