Show More
@@ -789,13 +789,11 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 | except: | |
|
798 | pass | |
|
796 | else: | |
|
799 | 797 | _rcpath.append(p) |
|
800 | 798 | else: |
|
801 | 799 | _rcpath = os_rcpath() |
General Comments 0
You need to be logged in to leave comments.
Login now