##// 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 635 testname = expand_path(os.path.join(path, filename))
636 636 if os.path.isfile(testname):
637 637 return os.path.abspath(testname)
638 raise IOError("File does not exist in any "
639 "of the search paths: %r, %r" % \
640 (filename, path_dirs))
638
639 raise IOError("File %r does not exist in any of the search paths: %r" %
640 (filename, path_dirs) )
641 641
642 642
643 643 #----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now