Show More
@@ -789,14 +789,12 b' def rcpath():' | |||
|
789 | 789 | _rcpath = [] |
|
790 | 790 | for p in os.environ['HGRCPATH'].split(os.pathsep): |
|
791 | 791 | if not p: continue |
|
792 |
|
|
|
792 | if os.path.isdir(p): | |
|
793 | 793 | for f in os.listdir(p): |
|
794 | 794 | if f.endswith('.rc'): |
|
795 | 795 | _rcpath.append(os.path.join(p, f)) |
|
796 |
|
|
|
797 |
|
|
|
798 | pass | |
|
799 | _rcpath.append(p) | |
|
796 | else: | |
|
797 | _rcpath.append(p) | |
|
800 | 798 | else: |
|
801 | 799 | _rcpath = os_rcpath() |
|
802 | 800 | return _rcpath |
General Comments 0
You need to be logged in to leave comments.
Login now