mailr3804 - /1.3/generic_fns/state.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 22, 2007 - 11:10:
Author: bugman
Date: Thu Nov 22 11:10:42 2007
New Revision: 3804

URL: http://svn.gna.org/viewcvs/relax?rev=3804&view=rev
Log:
Changed all the 'dir' args to 'dir_name' in the generic_fns.state module.


Modified:
    1.3/generic_fns/state.py

Modified: 1.3/generic_fns/state.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/state.py?rev=3804&r1=3803&r2=3804&view=diff
==============================================================================
--- 1.3/generic_fns/state.py (original)
+++ 1.3/generic_fns/state.py Thu Nov 22 11:10:42 2007
@@ -67,11 +67,11 @@
     del state
 
 
-def save_state(state=None, dir=None, force=0, compress_type=1):
+def save_state(state=None, dir_name=None, force=0, compress_type=1):
     """Function for saving the program state."""
 
     # Open the file for writing.
-    file = open_write_file(file_name=state, dir=dir, force=force, 
compress_type=compress_type)
+    file = open_write_file(file_name=state, dir=dir_name, force=force, 
compress_type=compress_type)
 
     # Pickle the data class and write it to file
     dump(relax_data_store, file, 1)




Related Messages


Powered by MHonArc, Updated Thu Nov 22 11:20:12 2007