Author: bugman Date: Tue Jun 24 23:32:10 2008 New Revision: 6482 URL: http://svn.gna.org/viewcvs/relax?rev=6482&view=rev Log: Improved the RelaxError message committed in r6481. Modified: 1.3/relax_io.py Modified: 1.3/relax_io.py URL: http://svn.gna.org/viewcvs/relax/1.3/relax_io.py?rev=6482&r1=6481&r2=6482&view=diff ============================================================================== --- 1.3/relax_io.py (original) +++ 1.3/relax_io.py Tue Jun 24 23:32:10 2008 @@ -241,7 +241,7 @@ # Invalid file name. if not file_name and type(file_name) != str: - raise RelaxError, "The file name " + `file_name` + " of type " + `type(file_name)` + " is invalid and cannot be opened." + raise RelaxError, "The file name " + `file_name` + " " + `type(file_name)` + " is invalid and cannot be opened." # File path. file_path = get_file_path(file_name, dir)