Author: bugman Date: Tue Oct 16 11:30:03 2012 New Revision: 17849 URL: http://svn.gna.org/viewcvs/relax?rev=17849&view=rev Log: Python 3 fix for the structural API. The command used was: 2to3 -w generic_fns/structure/api_base.py Modified: branches/frame_order_testing/generic_fns/structure/api_base.py Modified: branches/frame_order_testing/generic_fns/structure/api_base.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/generic_fns/structure/api_base.py?rev=17849&r1=17848&r2=17849&view=diff ============================================================================== --- branches/frame_order_testing/generic_fns/structure/api_base.py (original) +++ branches/frame_order_testing/generic_fns/structure/api_base.py Tue Oct 16 11:30:03 2012 @@ -1142,7 +1142,7 @@ self.model_indices[model_num] = len(self) - 1 # The sorted model numbers. - self.model_list = self.model_indices.keys() + self.model_list = list(self.model_indices.keys()) self.model_list.sort()