[ Thread Index |
Date Index
| More opengp.tuxfamily.org/development Archives
]
Revision: 35
Author: nicolaf
Date: 2009-03-14 22:04:00 +0100 (Sat, 14 Mar 2009)
Log Message:
-----------
typo
Modified Paths:
--------------
trunk/src/DomElementMethods/ElementMethods.py
Modified: trunk/src/DomElementMethods/ElementMethods.py
===================================================================
--- trunk/src/DomElementMethods/ElementMethods.py 2009-03-14 19:27:42 UTC (rev 34)
+++ trunk/src/DomElementMethods/ElementMethods.py 2009-03-14 21:04:00 UTC (rev 35)
@@ -141,7 +141,7 @@
newattrs.append([name, value])
newattrs.sort()
else: # replace it !
- for i, attr in enumerate:
+ for i, attr in enumerate(newattrs):
if attr[1] == name:
newattrs[i] = [name, value]
break