[Dev OpenGP] [94] Little fix |
[ Thread Index |
Date Index
| More opengp.tuxfamily.org/development Archives
]
Revision: 94
Author: alband85
Date: 2009-03-25 18:10:31 +0100 (Wed, 25 Mar 2009)
Log Message:
-----------
Little fix
Modified Paths:
--------------
trunk/src/lib/ogp/etree/elementmethods.py
Modified: trunk/src/lib/ogp/etree/elementmethods.py
===================================================================
--- trunk/src/lib/ogp/etree/elementmethods.py 2009-03-25 17:01:49 UTC (rev 93)
+++ trunk/src/lib/ogp/etree/elementmethods.py 2009-03-25 17:10:31 UTC (rev 94)
@@ -131,7 +131,7 @@
def insert(self, index, newChild):
"""
- Works as the standard function, but if newChild is an Element, but
+ Works as the standard function, but if newChild is an Element,
checks unicity before adding, and deletes text.
"""
logging.debug('OgpElement.insert(index=' + repr(index) + ', newChild=' + repr(newChild) + ')')
@@ -141,7 +141,7 @@
def extend(self, elements):
"""
- Works as the standard function, but if newChild is an Element, but
+ Works as the standard function, but if newChild is an Element,
checks unicity before adding, and deletes text.
"""
logging.debug('OgpElement.extend(elements=' + repr(elements) + ')')
@@ -151,9 +151,8 @@
ElementBase.extend(self, elements)
def set(self, name, value):
- #TODO: make a 'real' sentence in the description
"""
- Works as the standard function, but if newChild is an Element, but
+ Works as the standard function, but if newChild is an Element,
checks that self will still be unique after setting the attribute.
"""
logging.debug('OgpElement.set(name=' + repr(name) + ', value=' + repr(value) + ')')