Author: bugman Date: Sun Nov 25 18:44:10 2007 New Revision: 3933 URL: http://svn.gna.org/viewcvs/relax?rev=3933&view=rev Log: Bug fix for the generic_fns.pipes.current() function. The function now returns the current pipe rather than printing it! Modified: 1.3/generic_fns/pipes.py Modified: 1.3/generic_fns/pipes.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pipes.py?rev=3933&r1=3932&r2=3933&view=diff ============================================================================== --- 1.3/generic_fns/pipes.py (original) +++ 1.3/generic_fns/pipes.py Sun Nov 25 18:44:10 2007 @@ -89,9 +89,13 @@ def current(): - """Print the name of the current data pipe.""" + """Return the name of the current data pipe. + + @return: The name of the current data pipe. + @type return: str + """ - print relax_data_store.current_pipe + return relax_data_store.current_pipe def delete(pipe_name=None):