##// END OF EJS Templates
Fix bug with aliases, exposed by windows test suite.
Fernando Perez -
Show More
@@ -2681,11 +2681,12 b' Defaulting color scheme to \'NoColor\'"""'
2681 else:
2681 else:
2682 syscmdlist.append(ff)
2682 syscmdlist.append(ff)
2683 else:
2683 else:
2684 no_alias = self.shell.alias_manager.no_alias
2684 for pdir in path:
2685 for pdir in path:
2685 os.chdir(pdir)
2686 os.chdir(pdir)
2686 for ff in os.listdir(pdir):
2687 for ff in os.listdir(pdir):
2687 base, ext = os.path.splitext(ff)
2688 base, ext = os.path.splitext(ff)
2688 if isexec(ff) and base.lower() not in self.shell.no_alias:
2689 if isexec(ff) and base.lower() not in no_alias:
2689 if ext.lower() == '.exe':
2690 if ext.lower() == '.exe':
2690 ff = base
2691 ff = base
2691 try:
2692 try:
General Comments 0
You need to be logged in to leave comments. Login now