Author: bugman Date: Thu May 24 11:23:23 2012 New Revision: 16431 URL: http://svn.gna.org/viewcvs/relax?rev=16431&view=rev Log: Fix for the state.save user function definitions - the compress_type arg cannot be None! Modified: branches/uf_redesign/user_functions/state.py Modified: branches/uf_redesign/user_functions/state.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/state.py?rev=16431&r1=16430&r2=16431&view=diff ============================================================================== --- branches/uf_redesign/user_functions/state.py (original) +++ branches/uf_redesign/user_functions/state.py Thu May 24 11:23:23 2012 @@ -122,8 +122,7 @@ desc = "The type of compression to use when creating the file.", wiz_element_type = "combo", wiz_combo_choices = ["No compression", "bzip2 compression", "gzip compression"], - wiz_combo_data = [0, 1, 2], - can_be_none = True + wiz_combo_data = [0, 1, 2] ) uf.add_keyarg( name = "force",