equal
deleted
inserted
replaced
61 return result |
61 return result |
62 |
62 |
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(): |
74 '''return an ordered [(type, obj)] about where to load configs. |
71 '''return an ordered [(type, obj)] about where to load configs. |
75 |
72 |