##// END OF EJS Templates
Make an error message a bit easier to understand.
Fernando Perez -
Show More
@@ -635,9 +635,9 b' def filefind(filename, path_dirs=None):'
635 testname = expand_path(os.path.join(path, filename))
635 testname = expand_path(os.path.join(path, filename))
636 if os.path.isfile(testname):
636 if os.path.isfile(testname):
637 return os.path.abspath(testname)
637 return os.path.abspath(testname)
638 raise IOError("File does not exist in any "
638
639 "of the search paths: %r, %r" % \
639 raise IOError("File %r does not exist in any of the search paths: %r" %
640 (filename, path_dirs))
640 (filename, path_dirs) )
641
641
642
642
643 #----------------------------------------------------------------------------
643 #----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now