All objects should return self on serialize
svn: r19687
This commit is contained in:
@ -287,6 +287,7 @@ class StyledText(object):
|
|||||||
stt = StyledTextTag()
|
stt = StyledTextTag()
|
||||||
stt.unserialize(tag)
|
stt.unserialize(tag)
|
||||||
self._tags.append(stt)
|
self._tags.append(stt)
|
||||||
|
return self
|
||||||
|
|
||||||
def get_tags(self):
|
def get_tags(self):
|
||||||
"""Return the list of formatting tags.
|
"""Return the list of formatting tags.
|
||||||
|
Reference in New Issue
Block a user