commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8393 - trunk/gnue-designer/src/base/tools


From: jan
Subject: [gnue] r8393 - trunk/gnue-designer/src/base/tools
Date: Sat, 8 Apr 2006 08:09:59 -0500 (CDT)

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 \





reply via email to

[Prev in Thread] Current Thread [Next in Thread]