Author: bugman Date: Tue Jun 5 16:33:34 2012 New Revision: 16671 URL: http://svn.gna.org/viewcvs/relax?rev=16671&view=rev Log: Fix for the prompt and script UI user function intro print outs. This text is no longer passed through the format_text() function which has problems with newline characters. Modified: branches/uf_redesign/prompt/uf_objects.py Modified: branches/uf_redesign/prompt/uf_objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/uf_objects.py?rev=16671&r1=16670&r2=16671&view=diff ============================================================================== --- branches/uf_redesign/prompt/uf_objects.py (original) +++ branches/uf_redesign/prompt/uf_objects.py Tue Jun 5 16:33:34 2012 @@ -292,7 +292,7 @@ for i in range(self._karg_num): keys.append(self._kargs[i]['name']) values.append(self._kargs[i]['default']) - doc += "%s" % self._intro_text(keys, values, prompt=False) + doc += "%s" % format_text(self._intro_text(keys, values, prompt=False)) doc += "\n\n" # Add the keyword args. @@ -381,7 +381,6 @@ @rtype: str """ - print `status.ps3` # Initialise. text = "" @@ -404,8 +403,5 @@ # The end. text += ")" - # Wrap the text. - text = format_text(text) - # Return the text. return text