summaryrefslogtreecommitdiff
path: root/numpy/f2py/f2py2e.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-10-10 09:08:28 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-10-10 09:08:28 +0000
commitf558fbbf01eaf976daeeaa8e963985a4a5d52422 (patch)
tree92a2b05d7644c40f71a3635e10b56f2500388a83 /numpy/f2py/f2py2e.py
parent0330812bca3a97a2b808964e32d5ae81b466441c (diff)
downloadnumpy-f558fbbf01eaf976daeeaa8e963985a4a5d52422.tar.gz
Resolved ticket 285: imporved error messages
Diffstat (limited to 'numpy/f2py/f2py2e.py')
-rwxr-xr-xnumpy/f2py/f2py2e.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/f2py/f2py2e.py b/numpy/f2py/f2py2e.py
index 54514dca8..61fd34dbd 100755
--- a/numpy/f2py/f2py2e.py
+++ b/numpy/f2py/f2py2e.py
@@ -353,8 +353,8 @@ def run_main(comline_list):
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']