If the user mis-types a file name in the py_modules list, the current release gets a runtime error, while trying to print the warning message. The following patch properly produces the error message. *** build_py.orig Sun Dec 12 10:03:59 1999 --- build_py.py Tue Feb 1 15:05:10 2000 *************** *** 159,166 **** def check_module (self, module, module_file): if not os.path.isfile (module_file): ! self.warn ("file %s (for module %s) not found" % ! module_file, module) return 0 else: return 1 --- 159,166 ---- def check_module (self, module, module_file): if not os.path.isfile (module_file): ! self.warn ("file %s (for module %s) not found" % ! (module_file, module)) return 0 else: return 1 -- Joe VanAndel National Center for Atmospheric Research http://www.atd.ucar.edu/~vanandel/ Internet: vanandel@ucar.edu
On 01 February 2000, Joe Van Andel said:
If the user mis-types a file name in the py_modules list, the current release gets a runtime error, while trying to print the warning message. The following patch properly produces the error message.
Thanks! This fix is in the CVS tree now. Greg
participants (2)
-
Greg Ward
-
Joe Van Andel