mercurial/rcutil.py
changeset 32248 d74b0cff94a9
parent 32078 bf5e13e38390
child 34645 75979c8d4572
--- a/mercurial/rcutil.py	Wed Apr 26 22:05:59 2017 +0900
+++ b/mercurial/rcutil.py	Wed Apr 26 22:26:28 2017 +0900
@@ -11,7 +11,6 @@
 
 from . import (
     encoding,
-    osutil,
     pycompat,
     util,
 )
@@ -30,7 +29,7 @@
     p = util.expandpath(path)
     if os.path.isdir(p):
         join = os.path.join
-        return [join(p, f) for f, k in osutil.listdir(p) if f.endswith('.rc')]
+        return [join(p, f) for f, k in util.listdir(p) if f.endswith('.rc')]
     return [p]
 
 def envrcitems(env=None):