Author: bugman Date: Sun Apr 13 19:17:54 2008 New Revision: 5634 URL: http://svn.gna.org/viewcvs/relax?rev=5634&view=rev Log: Shifted some class variables into the __init__() method as these are supposed to change. Modified: 1.3/generic_fns/pymol.py Modified: 1.3/generic_fns/pymol.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/pymol.py?rev=5634&r1=5633&r2=5634&view=diff ============================================================================== --- 1.3/generic_fns/pymol.py (original) +++ 1.3/generic_fns/pymol.py Sun Apr 13 19:17:54 2008 @@ -39,11 +39,14 @@ the PyMOL child process pipe. """ - command_history = "" - """Variable for storing the pymol command history.""" - - pipe = None - """Writable pipe (file handle) to the PyMOL child process.""" + def __init__(self): + """Class initialisation method used to set the command history and the PyMOL pipe.""" + + self.command_history = "" + """Variable for storing the pymol command history.""" + + self.pipe = None + """Writable pipe (file handle) to the PyMOL child process.""" def clear_history(self):