Author: jan
Date: 2006-04-08 08:09:59 -0500 (Sat, 08 Apr 2006)
New Revision: 8393

Modified:
   trunk/gnue-designer/src/base/tools/PropertyEditor.py
Log:
remove iterators, as they are not compatible with python2.4

Modified: trunk/gnue-designer/src/base/tools/PropertyEditor.py
===================================================================
--- trunk/gnue-designer/src/base/tools/PropertyEditor.py        2006-04-07 
11:51:38 UTC (rev 8392)
+++ trunk/gnue-designer/src/base/tools/PropertyEditor.py        2006-04-08 
13:09:59 UTC (rev 8393)
@@ -95,8 +95,10 @@
                 except KeyError:
                     # This little tidbit does mixed case w/'_' as separators
                     words = attribute_name.split(':',1)[-1].split('_')
-                    for index, text in iterate(words):
+                   index=0
+                    for text in words:
                         words[index] = text.capitalize()
+                       index+=1
                     label = " ".join(words)
                     
                     # Cache it so we don't have to do this each time
@@ -118,7 +120,7 @@
                 
             # Only show properties for nondeprecated values (unless set)
             i = 0
-            for index in iterate(row_list):
+            for index in row_list:
                 label, key = self.rowList[i]
                 xkey = key.replace(':','__')
                 if self.attributes[key].has_key ('Deprecated') and \



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to