##// END OF EJS Templates
rcutil: don't check if defaultrc/ is a directory -- we know it is...
Martin von Zweigbergk -
r44370:86fe8536 default
parent child Browse files
Show More
@@ -63,11 +63,8 b' def envrcitems(env=None):'
63
63
64 def defaultrcpath():
64 def defaultrcpath():
65 '''return rc paths in defaultrc'''
65 '''return rc paths in defaultrc'''
66 path = []
67 defaultpath = os.path.join(resourceutil.datapath, b'defaultrc')
66 defaultpath = os.path.join(resourceutil.datapath, b'defaultrc')
68 if os.path.isdir(defaultpath):
67 return _expandrcpath(defaultpath)
69 path = _expandrcpath(defaultpath)
70 return path
71
68
72
69
73 def rccomponents():
70 def rccomponents():
General Comments 0
You need to be logged in to leave comments. Login now