Author: bugman Date: Fri Dec 17 20:21:46 2010 New Revision: 11889 URL: http://svn.gna.org/viewcvs/relax?rev=11889&view=rev Log: Merged revisions 11888 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/1.3 ........ r11888 | bugman | 2010-12-17 20:19:26 +0100 (Fri, 17 Dec 2010) | 3 lines Fix for script execution - the extension check for '.py' was incorrect! ........ Modified: branches/bieri_gui/ (props changed) branches/bieri_gui/prompt/interpreter.py Propchange: branches/bieri_gui/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Fri Dec 17 20:21:46 2010 @@ -1,1 +1,1 @@ -/1.3:1-11886 +/1.3:1-11888 Modified: branches/bieri_gui/prompt/interpreter.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/prompt/interpreter.py?rev=11889&r1=11888&r2=11889&view=diff ============================================================================== --- branches/bieri_gui/prompt/interpreter.py (original) +++ branches/bieri_gui/prompt/interpreter.py Fri Dec 17 20:21:46 2010 @@ -364,7 +364,7 @@ # Check if the script name is ok. if search('\.', module): raise RelaxError("The relax script must not contain the '.' character (except before the extension '*.py').") - if ext != 'py': + if ext != '.py': raise RelaxError("The script must have the extension *.py.") # Execute the module.