diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-10-10 09:08:28 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-10-10 09:08:28 +0000 |
commit | f558fbbf01eaf976daeeaa8e963985a4a5d52422 (patch) | |
tree | 92a2b05d7644c40f71a3635e10b56f2500388a83 /numpy/f2py/f2py2e.py | |
parent | 0330812bca3a97a2b808964e32d5ae81b466441c (diff) | |
download | numpy-f558fbbf01eaf976daeeaa8e963985a4a5d52422.tar.gz |
Resolved ticket 285: imporved error messages
Diffstat (limited to 'numpy/f2py/f2py2e.py')
-rwxr-xr-x | numpy/f2py/f2py2e.py | 4 |
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'] |