[Numpy-svn] r3300 - trunk/numpy/f2py

numpy-svn at scipy.org numpy-svn at scipy.org
Tue Oct 10 04:08:35 CDT 2006


Author: pearu
Date: 2006-10-10 04:08:28 -0500 (Tue, 10 Oct 2006)
New Revision: 3300

Modified:
   trunk/numpy/f2py/f2py2e.py
Log:
Resolved ticket 285: imporved error messages

Modified: trunk/numpy/f2py/f2py2e.py
===================================================================
--- trunk/numpy/f2py/f2py2e.py	2006-10-10 08:52:18 UTC (rev 3299)
+++ trunk/numpy/f2py/f2py2e.py	2006-10-10 09:08:28 UTC (rev 3300)
@@ -353,8 +353,8 @@
     for i in range(len(postlist)):
         if postlist[i]['block']!='python module':
             if not options.has_key('python module'):
-                errmess('Tip: If your original code is Fortran 77 then you must use -m option.\n')
-            raise TypeError,'All blocks must be module blocks but got %s'%(`postlist[i]['block']`)
+                errmess('Tip: If your original code is Fortran source then you must use -m option.\n')
+            raise TypeError,'All blocks must be python module blocks but got %s'%(`postlist[i]['block']`)
     auxfuncs.debugoptions=options['debug']
     f90mod_rules.options=options
     auxfuncs.wrapfuncs=options['wrapfuncs']



More information about the Numpy-svn mailing list